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.00133/0.00133, allocations: 79.44 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.00164/0.00164, allocations: 165.8 kB / 22.45 MB, free: 5.375 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.188/1.188, allocations: 154.6 MB / 413.8 MB, free: 5.203 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 1.994e-06/1.994e-06, allocations: 0 / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.748e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001712/0.00174, allocations: 0.719 MB / 0.6193 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.00333, allocations: 1.178 MB / 0.6204 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.003384, allocations: 4 kB / 0.6204 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.003411, allocations: 7.875 kB / 0.6205 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.003474, allocations: 7.875 kB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.003951, allocations: 137.4 kB / 0.6206 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.004125, allocations: 119.7 kB / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.004208, allocations: 16 kB / 0.6207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.004327, allocations: 63.94 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.773e-05/0.004425, allocations: 43.86 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.004454, allocations: 12 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.226e-05/0.004516, allocations: 19.98 kB / 0.6209 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.004544, allocations: 8 kB / 0.6209 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.004608, allocations: 39.89 kB / 0.6209 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.004819, allocations: 131.6 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004821, allocations: 0 / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004822, allocations: 0 / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.004826, allocations: 0 / 0.621 GB, free: 2.066 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.0005877/0.005414, allocations: 343.7 kB / 0.6214 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.005452, allocations: 12.03 kB / 0.6214 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.005503, allocations: 4.938 kB / 0.6214 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.005627, allocations: 121.7 kB / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.005643, allocations: 4.375 kB / 0.6215 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.005673, allocations: 16.36 kB / 0.6215 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.005866, allocations: 62.22 kB / 0.6216 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005874, allocations: 192 / 0.6216 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.005884, allocations: 4.312 kB / 0.6216 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.005888, allocations: 4.375 kB / 0.6216 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.006081, allocations: 43.89 kB / 0.6216 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.006555, allocations: 256.5 kB / 0.6219 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.006761, allocations: 54.55 kB / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.006873, allocations: 32.95 kB / 0.6219 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.006888, allocations: 8 kB / 0.6219 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.007118, allocations: 95.36 kB / 0.622 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.007119, allocations: 0 / 0.622 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.000462/0.007581, allocations: 137.5 kB / 0.6222 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.007637, allocations: 55.41 kB / 0.6222 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.007743, allocations: 121.8 kB / 0.6223 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.007776, allocations: 33.7 kB / 0.6224 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.007846, allocations: 92.14 kB / 0.6225 GB, free: 444 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.007871, allocations: 23.84 kB / 0.6225 GB, free: 420 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.796e-05/0.007949, allocations: 37.7 kB / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.008094, allocations: 314.8 kB / 0.6228 GB, free: 52 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.008303, allocations: 85.59 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.008513, allocations: 114 kB / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.00882, allocations: 149.9 kB / 0.6232 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.008822, allocations: 0 / 0.6232 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005056/0.009328, allocations: 240.8 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.00937, allocations: 41.62 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.009376, allocations: 4 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.009393, allocations: 4.125 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.009485, allocations: 8 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.009495, allocations: 7.922 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.009721, allocations: 35.91 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.009748, allocations: 11.98 kB / 0.6235 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.0001084/0.009856, allocations: 119.7 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.009876, allocations: 11.89 kB / 0.6236 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.009906, allocations: 12.44 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.009907, allocations: 0 / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.009913, allocations: 4 kB / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.009916, allocations: 0 / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.0104, allocations: 318.1 kB / 0.6239 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.0104, allocations: 0 / 0.6239 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.01046, allocations: 7.984 kB / 0.6239 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01046, allocations: 0 / 0.6239 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.01047, allocations: 4 kB / 0.6239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01048, allocations: 12 kB / 0.624 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01048, allocations: 400 / 0.624 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.01083, allocations: 215.3 kB / 0.6242 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.01084, allocations: 11.94 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.01086, allocations: 0 / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.01094, allocations: 4 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.01098, allocations: 7.984 kB / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.01099, allocations: 8 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.01105, allocations: 94.77 kB / 0.6243 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01105, allocations: 4 kB / 0.6243 GB, free: 14.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002659/0.01131, allocations: 23.94 kB / 0.6243 GB, free: 14.39 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.000152/0.01147, allocations: 103.2 kB / 0.6244 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000419/0.01189, allocations: 193 kB / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01189, allocations: 0 / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.01202, allocations: 44.16 kB / 0.6246 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.0123, allocations: 26.36 kB / 0.6247 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.01266, allocations: 153.5 kB / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.82e-05/0.01273, allocations: 71.34 kB / 0.6249 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.01276, allocations: 11.97 kB / 0.6249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.0128, allocations: 16.5 kB / 0.6249 GB, free: 13.7 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.0128, allocations: 4 kB / 0.6249 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Templates: time 0.004507/0.0173, allocations: 1.538 MB / 0.6264 GB, free: 12.21 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.699194975197315] Failed to read output from testmodel.py, exit status != 0: 0.02558141201734543 0.040442346000000004 0.032521429000000004 Calling exit ...