Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00218/0.003365, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001729/0.002969, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9553/0.9553, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09187/1.047, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8235/0.8235, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2863/1.11, allocations: 49.13 MB / 448.6 MB, free: 5.914 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 449.9 MB, free: 4.605 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.676e-05, allocations: 5.703 kB / 450 MB, free: 4.602 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00245/0.002477, allocations: 0.6978 MB / 450.7 MB, free: 3.938 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.003968, allocations: 1.237 MB / 451.9 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.004011, allocations: 4 kB / 451.9 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.004036, allocations: 4.594 kB / 451.9 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.399e-05/0.00409, allocations: 17.47 kB / 451.9 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.004571, allocations: 208.3 kB / 452.1 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.004759, allocations: 170.9 kB / 452.3 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.004829, allocations: 13.06 kB / 452.3 MB, free: 2.309 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.004941, allocations: 94.56 kB / 452.4 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.005041, allocations: 53.22 kB / 452.4 MB, free: 2.168 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.005069, allocations: 16.98 kB / 452.5 MB, free: 2.152 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.522e-05/0.005144, allocations: 24.55 kB / 452.5 MB, free: 2.129 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.005167, allocations: 9.641 kB / 452.5 MB, free: 2.121 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.005214, allocations: 38.36 kB / 452.5 MB, free: 2.086 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.005374, allocations: 108.8 kB / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.005385, allocations: 0 / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005385, allocations: 0 / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.005393, allocations: 0 / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004016/0.005795, allocations: 352 kB / 453 MB, free: 1.605 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.005825, allocations: 8.031 kB / 453 MB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.005863, allocations: 13.47 kB / 453 MB, free: 1.586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.785e-05/0.005941, allocations: 113.8 kB / 453.1 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.005952, allocations: 4.375 kB / 453.1 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.005972, allocations: 12.38 kB / 453.1 MB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.652e-05/0.006039, allocations: 48.39 kB / 453.2 MB, free: 1.383 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.006045, allocations: 4.125 kB / 453.2 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.006052, allocations: 4.375 kB / 453.2 MB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.006056, allocations: 384 / 453.2 MB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.476e-05/0.006071, allocations: 9.438 kB / 453.2 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.006327, allocations: 181 kB / 453.4 MB, free: 1.176 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.7e-05/0.006384, allocations: 30.5 kB / 453.4 MB, free: 1.137 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.006397, allocations: 9.641 kB / 453.4 MB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.006405, allocations: 4.625 kB / 453.4 MB, free: 1.121 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.989e-05/0.006494, allocations: 75.47 kB / 453.5 MB, free: 1.035 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.006495, allocations: 1.625 kB / 453.5 MB, free: 1.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001277/0.006623, allocations: 77.53 kB / 453.6 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.006655, allocations: 55.41 kB / 453.6 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.006725, allocations: 126.6 kB / 453.7 MB, free: 0.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.006744, allocations: 35.66 kB / 453.8 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.006786, allocations: 88.12 kB / 453.9 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.006801, allocations: 15.91 kB / 453.9 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.006856, allocations: 41.67 kB / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.006939, allocations: 322.8 kB / 454.2 MB, free: 240 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.007013, allocations: 100.3 kB / 454.3 MB, free: 128 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/0.007104, allocations: 133.2 kB / 454.5 MB, free: 15.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.007204, allocations: 147.1 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.007206, allocations: 0 / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001935/0.0074, allocations: 261.8 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.007446, allocations: 67.39 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.007454, allocations: 13.39 kB / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.007464, allocations: 0 / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-05/0.007482, allocations: 4 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.007484, allocations: 0 / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.00763, allocations: 40.83 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.007647, allocations: 12.98 kB / 455 MB, free: 15.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.007709, allocations: 118.4 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.007722, allocations: 11.98 kB / 455.1 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.007744, allocations: 14.86 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.007746, allocations: 0 / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.007749, allocations: 4.062 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007752, allocations: 0.6562 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.611e-05/0.007818, allocations: 89.75 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007819, allocations: 1.219 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.007824, allocations: 0 / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.007834, allocations: 11.94 kB / 455.2 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.007836, allocations: 5.047 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-06/0.00784, allocations: 0 / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.007843, allocations: 3.938 kB / 455.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007843, allocations: 0.9062 kB / 455.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.257e-05/0.007916, allocations: 85.34 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.007925, allocations: 4 kB / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.297e-05/0.007938, allocations: 4.719 kB / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.007964, allocations: 8.672 kB / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.007968, allocations: 4.594 kB / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.756e-05/0.007986, allocations: 22.67 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007986, allocations: 4 kB / 455.4 MB, free: 14.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001273/0.008113, allocations: 28 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001025/0.008215, allocations: 85.19 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.008407, allocations: 260.3 kB / 455.7 MB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.008413, allocations: 3.984 kB / 455.8 MB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.486e-05/0.008438, allocations: 25.69 kB / 455.8 MB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.008585, allocations: 123.5 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.009005, allocations: 150.1 kB / 456 MB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.665e-05/0.009042, allocations: 63.2 kB / 456.1 MB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.714e-05/0.009069, allocations: 7.438 kB / 456.1 MB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.009172, allocations: 79.33 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009172, allocations: 0.625 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of Templates: time 0.003547/0.01272, allocations: 2.248 MB / 458.4 MB, free: 11.93 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.583992013707757]