Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001547/0.001547, allocations: 78.97 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.001655/0.001655, allocations: 162.1 kB / 22.46 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.547/1.547, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198: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 master/package.mo): time 1.249/1.249, allocations: 154.6 MB / 413.7 MB, free: 5.285 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 7.875 kB / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.124e-05, allocations: 8.766 kB / 0.6185 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001799/0.00183, allocations: 0.7153 MB / 0.6192 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.003678, allocations: 1.168 MB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.003742, allocations: 4 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.834e-05/0.003781, allocations: 9.641 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.191e-05/0.003873, allocations: 15.8 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.004398, allocations: 140.1 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.004596, allocations: 119.7 kB / 0.6207 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.004702, allocations: 12 kB / 0.6207 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.004847, allocations: 67.88 kB / 0.6207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.00495, allocations: 40.38 kB / 0.6208 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.004978, allocations: 8.531 kB / 0.6208 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.005055, allocations: 27.98 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.005083, allocations: 11.98 kB / 0.6208 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.138e-05/0.005154, allocations: 35.91 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.005393, allocations: 135.6 kB / 0.621 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005395, allocations: 0 / 0.621 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.005396, allocations: 0 / 0.621 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.005405, allocations: 0 / 0.621 GB, free: 2.125 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006874/0.006093, allocations: 339.7 kB / 0.6213 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.006137, allocations: 13.41 kB / 0.6213 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.006196, allocations: 12.94 kB / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.00632, allocations: 117.7 kB / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.006334, allocations: 8.375 kB / 0.6214 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.00636, allocations: 4.375 kB / 0.6215 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.00657, allocations: 66.22 kB / 0.6215 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.006581, allocations: 192 / 0.6215 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.0066, allocations: 8.375 kB / 0.6215 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.006606, allocations: 384 / 0.6215 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.006802, allocations: 51.88 kB / 0.6216 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.007304, allocations: 268.4 kB / 0.6218 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.00749, allocations: 50.55 kB / 0.6219 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.007601, allocations: 37.02 kB / 0.6219 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.007626, allocations: 3.938 kB / 0.6219 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.007856, allocations: 91.23 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.007857, allocations: 0 / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004726/0.00833, allocations: 145.6 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.008375, allocations: 55.41 kB / 0.6222 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.008483, allocations: 117.8 kB / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.008517, allocations: 37.64 kB / 0.6223 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.008587, allocations: 92.09 kB / 0.6224 GB, free: 488 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.008615, allocations: 23.83 kB / 0.6225 GB, free: 464 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.00869, allocations: 37.7 kB / 0.6225 GB, free: 420 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.008828, allocations: 318.8 kB / 0.6228 GB, free: 92 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.009019, allocations: 85.67 kB / 0.6229 GB, free: 0 / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.009231, allocations: 114 kB / 0.623 GB, free: 15.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.009515, allocations: 141.8 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.009518, allocations: 0 / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004959/0.01001, allocations: 252.8 kB / 0.6234 GB, free: 15.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.01006, allocations: 37.69 kB / 0.6234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01006, allocations: 0 / 0.6234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01008, allocations: 4 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.01017, allocations: 11.98 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.01018, allocations: 0 / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.01039, allocations: 40.05 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.01041, allocations: 11.98 kB / 0.6235 GB, free: 15.33 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001146/0.01053, allocations: 122.8 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.01055, allocations: 7.938 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.01058, allocations: 8.438 kB / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01058, allocations: 0 / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01058, allocations: 0 / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.01059, allocations: 3.984 kB / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.01105, allocations: 333.9 kB / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01106, allocations: 0 / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-05/0.01111, allocations: 4 kB / 0.6239 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01111, allocations: 0 / 0.6239 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.01113, allocations: 7.984 kB / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01113, allocations: 0 / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01113, allocations: 0 / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.01147, allocations: 211.4 kB / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.01148, allocations: 7.953 kB / 0.6241 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.0115, allocations: 12.05 kB / 0.6241 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.01159, allocations: 7.984 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.01164, allocations: 15.92 kB / 0.6242 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.01165, allocations: 4 kB / 0.6242 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.01171, allocations: 94.55 kB / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01171, allocations: 0 / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002591/0.01197, allocations: 20 kB / 0.6243 GB, free: 14.43 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001602/0.01213, allocations: 99.25 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.01256, allocations: 201.4 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01256, allocations: 0 / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.01268, allocations: 27.98 kB / 0.6246 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.01297, allocations: 24.06 kB / 0.6246 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.01333, allocations: 173.1 kB / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.0134, allocations: 75.58 kB / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.459e-05/0.01344, allocations: 4 kB / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.01347, allocations: 12.5 kB / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.01347, allocations: 0 / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of Templates: time 0.004597/0.01807, allocations: 1.547 MB / 0.6264 GB, free: 12.25 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.914394371211529] Failed to read output from testmodel.py, exit status != 0: 0.026385631412267685 0.041361118 0.032936026 Calling exit ...