Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.001335/0.001335, allocations: 78.56 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002176/0.002176, allocations: 166 kB / 22.46 MB, free: 5.367 MB / 14.72 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 1.416/1.416, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.18/1.18, allocations: 154.7 MB / 413.9 MB, free: 5.148 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.6187 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.534e-05, allocations: 6.219 kB / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001746/0.001772, allocations: 0.7139 MB / 0.6195 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.003422, allocations: 1.176 MB / 0.6206 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.003476, allocations: 0 / 0.6206 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.003507, allocations: 3.938 kB / 0.6206 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/0.003571, allocations: 18.39 kB / 0.6206 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.004054, allocations: 131.5 kB / 0.6207 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.004245, allocations: 127.7 kB / 0.6209 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.004338, allocations: 8 kB / 0.6209 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.004461, allocations: 68.47 kB / 0.6209 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.004555, allocations: 43.81 kB / 0.621 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.004582, allocations: 13.97 kB / 0.621 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.017e-05/0.004642, allocations: 19.98 kB / 0.621 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.004671, allocations: 15.92 kB / 0.621 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.004725, allocations: 27.98 kB / 0.6211 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.004927, allocations: 131.6 kB / 0.6212 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.00493, allocations: 4 kB / 0.6212 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00493, allocations: 0 / 0.6212 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.004936, allocations: 0 / 0.6212 GB, free: 2.059 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005999/0.005535, allocations: 339.7 kB / 0.6215 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.005585, allocations: 12.03 kB / 0.6215 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.005638, allocations: 8.922 kB / 0.6215 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.00576, allocations: 113.7 kB / 0.6216 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.005778, allocations: 4.375 kB / 0.6216 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.005802, allocations: 12.38 kB / 0.6217 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.006009, allocations: 70.14 kB / 0.6217 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.006018, allocations: 192 / 0.6217 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.006031, allocations: 4.375 kB / 0.6217 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.006038, allocations: 4.375 kB / 0.6217 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.006216, allocations: 39.89 kB / 0.6218 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.006678, allocations: 260.5 kB / 0.622 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.006859, allocations: 54.55 kB / 0.6221 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.006964, allocations: 36.95 kB / 0.6221 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.006979, allocations: 0 / 0.6221 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.007223, allocations: 99.28 kB / 0.6222 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.007225, allocations: 0 / 0.6222 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004605/0.007685, allocations: 145.5 kB / 0.6223 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.007734, allocations: 59.41 kB / 0.6224 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.007841, allocations: 117.1 kB / 0.6225 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.007878, allocations: 37.69 kB / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.007944, allocations: 88.14 kB / 0.6226 GB, free: 436 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.007968, allocations: 19.86 kB / 0.6226 GB, free: 416 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.008046, allocations: 41.69 kB / 0.6227 GB, free: 368 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.008182, allocations: 310.8 kB / 0.623 GB, free: 48 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.008372, allocations: 85.66 kB / 0.6231 GB, free: 15.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.008567, allocations: 114 kB / 0.6232 GB, free: 15.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.008848, allocations: 145.9 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.00885, allocations: 3.938 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004605/0.00931, allocations: 237 kB / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.009353, allocations: 45.64 kB / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.009361, allocations: 4 kB / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.009376, allocations: 3.938 kB / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.009474, allocations: 15.92 kB / 0.6236 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.009479, allocations: 0 / 0.6236 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.009679, allocations: 43.89 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.009698, allocations: 4 kB / 0.6237 GB, free: 15.29 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001293/0.009827, allocations: 127.7 kB / 0.6238 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.009844, allocations: 11.89 kB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.009875, allocations: 8.438 kB / 0.6238 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.009877, allocations: 0 / 0.6238 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.009883, allocations: 4 kB / 0.6238 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.009888, allocations: 0 / 0.6238 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.01033, allocations: 318.4 kB / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01033, allocations: 0 / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.01039, allocations: 15.92 kB / 0.6241 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01039, allocations: 0 / 0.6241 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.0104, allocations: 4 kB / 0.6241 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.0104, allocations: 0 / 0.6241 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.0104, allocations: 80 / 0.6241 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.01071, allocations: 215.3 kB / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.01072, allocations: 3.953 kB / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.01074, allocations: 8.047 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.01082, allocations: 8 kB / 0.6243 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.01086, allocations: 11.98 kB / 0.6244 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.01087, allocations: 4 kB / 0.6244 GB, free: 14.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.955e-05/0.01093, allocations: 95.27 kB / 0.6245 GB, free: 14.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01093, allocations: 0 / 0.6245 GB, free: 14.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000251/0.01118, allocations: 23.94 kB / 0.6245 GB, free: 14.38 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001356/0.01131, allocations: 103.2 kB / 0.6246 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.01171, allocations: 193 kB / 0.6248 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01171, allocations: 0 / 0.6248 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.01184, allocations: 43.89 kB / 0.6248 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.0121, allocations: 11.94 kB / 0.6248 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.01251, allocations: 161.4 kB / 0.625 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.695e-05/0.01259, allocations: 71.59 kB / 0.625 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.01262, allocations: 11.98 kB / 0.625 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.0127, allocations: 16.5 kB / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.0127, allocations: 0 / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Templates: time 0.00443/0.01713, allocations: 1.564 MB / 0.6266 GB, free: 12.19 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.63230549171567] Failed to read output from testmodel.py, exit status != 0: 0.025064267218112946 0.038649673 0.030889567000000003 Calling exit ...