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.001808/0.001808, allocations: 113 kB / 18.94 MB, free: 2.934 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.002142/0.002142, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.605/1.605, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.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.287/1.287, allocations: 203.8 MB / 0.5041 GB, free: 4.988 MB / 414.1 MB " [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.002775/0.002775, allocations: 70.75 kB / 0.7187 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6453/0.6481, allocations: 102 MB / 0.8183 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002007/0.6501, allocations: 0.664 MB / 0.819 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.6517, allocations: 1.108 MB / 0.82 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.6517, allocations: 0 / 0.82 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/0.6518, allocations: 3.938 kB / 0.82 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.6518, allocations: 3.938 kB / 0.8201 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.6522, allocations: 47.83 kB / 0.8201 GB, free: 496 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.6523, allocations: 47.86 kB / 0.8201 GB, free: 448 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.6524, allocations: 11.98 kB / 0.8202 GB, free: 436 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.6525, allocations: 15.98 kB / 0.8202 GB, free: 420 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.6525, allocations: 27.84 kB / 0.8202 GB, free: 392 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.6526, allocations: 4 kB / 0.8202 GB, free: 388 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.948e-05/0.6526, allocations: 31.92 kB / 0.8202 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.6527, allocations: 8 kB / 0.8202 GB, free: 348 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.6527, allocations: 23.86 kB / 0.8203 GB, free: 324 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.6529, allocations: 59.64 kB / 0.8203 GB, free: 268 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6529, allocations: 0 / 0.8203 GB, free: 268 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6529, allocations: 0 / 0.8203 GB, free: 268 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.6529, allocations: 0 / 0.8203 GB, free: 268 kB / 0.5919 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.0006868/0.6536, allocations: 292.7 kB / 0.8206 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6537, allocations: 9.469 kB / 0.8206 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.6537, allocations: 8.938 kB / 0.8206 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.6539, allocations: 110.5 kB / 0.8207 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.6539, allocations: 4.359 kB / 0.8207 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.6539, allocations: 4.375 kB / 0.8207 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.6541, allocations: 66.16 kB / 0.8208 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.6541, allocations: 192 / 0.8208 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6542, allocations: 7.875 kB / 0.8208 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.6542, allocations: 4 kB / 0.8208 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.6544, allocations: 47.94 kB / 0.8208 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.6549, allocations: 259.9 kB / 0.8211 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.6551, allocations: 58.42 kB / 0.8212 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.6552, allocations: 28.95 kB / 0.8212 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.6552, allocations: 4 kB / 0.8212 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.6554, allocations: 67.39 kB / 0.8212 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.6554, allocations: 0 / 0.8212 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004471/0.6559, allocations: 125.5 kB / 0.8214 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.6559, allocations: 59.41 kB / 0.8214 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.656, allocations: 109.8 kB / 0.8215 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.6561, allocations: 25.7 kB / 0.8216 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.6562, allocations: 99.98 kB / 0.8217 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.6562, allocations: 7.906 kB / 0.8217 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.6562, allocations: 25.72 kB / 0.8217 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6564, allocations: 318.8 kB / 0.822 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.6565, allocations: 23.98 kB / 0.822 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.6566, allocations: 56.27 kB / 0.8221 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.6569, allocations: 100.1 kB / 0.8222 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6569, allocations: 0 / 0.8222 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002891/0.6571, allocations: 105.5 kB / 0.8223 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6572, allocations: 8 kB / 0.8223 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.6572, allocations: 160 / 0.8223 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.6572, allocations: 8 kB / 0.8223 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.6573, allocations: 11.98 kB / 0.8223 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.6573, allocations: 7.938 kB / 0.8223 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.6574, allocations: 19.88 kB / 0.8223 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.6574, allocations: 4 kB / 0.8223 GB, free: 14 MB / 0.6075 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.000109/0.6575, allocations: 118.8 kB / 0.8224 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.6575, allocations: 4 kB / 0.8224 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.6578, allocations: 106 kB / 0.8225 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6578, allocations: 0 / 0.8225 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6578, allocations: 0 / 0.8225 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6578, allocations: 0 / 0.8225 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.6583, allocations: 329.6 kB / 0.8228 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6583, allocations: 3.938 kB / 0.8229 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.144e-05/0.6584, allocations: 11.98 kB / 0.8229 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6584, allocations: 4 kB / 0.8229 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.6584, allocations: 0 / 0.8229 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6584, allocations: 4.312 kB / 0.8229 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6584, allocations: 0 / 0.8229 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.6587, allocations: 191.5 kB / 0.8231 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.6587, allocations: 11.94 kB / 0.8231 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.6587, allocations: 4 kB / 0.8231 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.6588, allocations: 4.188 kB / 0.8231 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.6589, allocations: 7.984 kB / 0.8231 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.6589, allocations: 11.88 kB / 0.8231 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.6589, allocations: 83.27 kB / 0.8232 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6589, allocations: 0 / 0.8232 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002517/0.6592, allocations: 16 kB / 0.8232 GB, free: 13.03 MB / 0.6075 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.0001662/0.6593, allocations: 103.1 kB / 0.8233 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.6596, allocations: 67.94 kB / 0.8234 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6596, allocations: 3.938 kB / 0.8234 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.6597, allocations: 27.98 kB / 0.8234 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.66, allocations: 7.984 kB / 0.8234 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.6604, allocations: 142.8 kB / 0.8235 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.6607, allocations: 0.6884 MB / 0.8242 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.6607, allocations: 4 kB / 0.8242 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.6608, allocations: 7.438 kB / 0.8242 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.6608, allocations: 0 / 0.8242 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of Templates: time 0.00404/0.6648, allocations: 0.8268 MB / 0.825 GB, free: 11.11 MB / 0.6075 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.765565121546388] Failed to read output from testmodel.py, exit status != 0: 0.6759959664195776 0.690578298 0.034315985 Calling exit ...