Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001383/0.001383, allocations: 82.41 kB / 19.16 MB, free: 2.535 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.001349/0.001349, allocations: 169.6 kB / 22.44 MB, free: 5.34 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.392/1.392, allocations: 177.2 MB / 202.8 MB, free: 9.18 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.181/1.181, allocations: 155 MB / 414.2 MB, free: 4.934 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.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 66.34 kB / 0.6191 GB, free: 4.176 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.5695, allocations: 102 MB / 0.7187 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001689/0.5712, allocations: 0.6595 MB / 0.7194 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.5723, allocations: 1.084 MB / 0.7204 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.5724, allocations: 1 kB / 0.7204 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.5724, allocations: 3.938 kB / 0.7204 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.5724, allocations: 13.64 kB / 0.7204 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.5727, allocations: 42.72 kB / 0.7205 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.5728, allocations: 53.02 kB / 0.7205 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.5729, allocations: 5.609 kB / 0.7205 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.5729, allocations: 31.06 kB / 0.7206 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.593e-05/0.573, allocations: 19.16 kB / 0.7206 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.573, allocations: 4.156 kB / 0.7206 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.268e-05/0.5731, allocations: 24.39 kB / 0.7206 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.5731, allocations: 12.27 kB / 0.7206 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.5731, allocations: 14.97 kB / 0.7206 GB, free: 472 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.5733, allocations: 72.3 kB / 0.7207 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5733, allocations: 0 / 0.7207 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5733, allocations: 0 / 0.7207 GB, free: 440 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.5733, allocations: 3.938 kB / 0.7207 GB, free: 436 kB / 0.6075 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.0004343/0.5737, allocations: 295.1 kB / 0.721 GB, free: 140 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.5737, allocations: 11.25 kB / 0.721 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.5738, allocations: 10.16 kB / 0.721 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.299e-05/0.5739, allocations: 117.5 kB / 0.7211 GB, free: 16 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.5739, allocations: 3.484 kB / 0.7211 GB, free: 16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.5739, allocations: 7.656 kB / 0.7211 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.5741, allocations: 61.7 kB / 0.7212 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5741, allocations: 192 / 0.7212 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.5742, allocations: 9.344 kB / 0.7212 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5742, allocations: 0.75 kB / 0.7212 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.5743, allocations: 42.16 kB / 0.7212 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.5748, allocations: 226.2 kB / 0.7215 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.5749, allocations: 54.27 kB / 0.7215 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.575, allocations: 31.16 kB / 0.7215 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.5751, allocations: 2.266 kB / 0.7215 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.5752, allocations: 71.11 kB / 0.7216 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.5752, allocations: 0 / 0.7216 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=6): time 0.0004093/0.5757, allocations: 117.5 kB / 0.7217 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.5757, allocations: 57.64 kB / 0.7218 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.5758, allocations: 106.7 kB / 0.7219 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.5758, allocations: 30.8 kB / 0.7219 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.5759, allocations: 88.11 kB / 0.722 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.5759, allocations: 18.52 kB / 0.722 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.5759, allocations: 22.69 kB / 0.722 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5761, allocations: 318.4 kB / 0.7223 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.5762, allocations: 25.25 kB / 0.7224 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.5763, allocations: 62 kB / 0.7224 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.5766, allocations: 92.56 kB / 0.7225 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5766, allocations: 0 / 0.7225 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002962/0.5769, allocations: 115 kB / 0.7226 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.5769, allocations: 10.16 kB / 0.7226 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.5769, allocations: 1.625 kB / 0.7226 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5769, allocations: 2.719 kB / 0.7226 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.577, allocations: 18.7 kB / 0.7226 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.577, allocations: 2.781 kB / 0.7226 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.5771, allocations: 10.3 kB / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.5771, allocations: 12.38 kB / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001025/0.5772, allocations: 123.4 kB / 0.7228 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.5772, allocations: 7.25 kB / 0.7228 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.5775, allocations: 100.1 kB / 0.7229 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5775, allocations: 4.812 kB / 0.7229 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5775, allocations: 0.7812 kB / 0.7229 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5775, allocations: 0.7031 kB / 0.7229 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.578, allocations: 308.9 kB / 0.7232 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.578, allocations: 0 / 0.7232 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.578, allocations: 13.77 kB / 0.7232 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.578, allocations: 1.406 kB / 0.7232 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.578, allocations: 0.6562 kB / 0.7232 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.578, allocations: 1.344 kB / 0.7232 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.578, allocations: 0.5625 kB / 0.7232 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.5783, allocations: 192.5 kB / 0.7234 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.5784, allocations: 9.266 kB / 0.7234 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.5784, allocations: 6.141 kB / 0.7234 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.5785, allocations: 10.84 kB / 0.7234 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.5785, allocations: 9.219 kB / 0.7234 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.5785, allocations: 1.156 kB / 0.7234 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.5786, allocations: 84.81 kB / 0.7235 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.5786, allocations: 0 / 0.7235 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000249/0.5788, allocations: 14.09 kB / 0.7235 GB, free: 14.02 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001395/0.5789, allocations: 97.73 kB / 0.7236 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.5792, allocations: 73.73 kB / 0.7237 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5792, allocations: 0 / 0.7237 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.5793, allocations: 27.41 kB / 0.7237 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.5796, allocations: 10.25 kB / 0.7237 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.5799, allocations: 140.7 kB / 0.7239 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.32e-05/0.58, allocations: 71.86 kB / 0.7239 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.999e-05/0.58, allocations: 9.031 kB / 0.7239 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.5801, allocations: 12.56 kB / 0.7239 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.5801, allocations: 3.938 kB / 0.7239 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of Templates: time 0.003772/0.5838, allocations: 0.8377 MB / 0.7248 GB, free: 13.57 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.018758811056614] Failed to read output from testmodel.py, exit status != 0: 0.5924779493361712 0.6088686600000001 0.032464131 Calling exit ...