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.0007943/0.0007943, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008534/0.0008534, allocations: 203.8 kB / 23 MB, free: 3.109 MB / 13.93 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 0.8528/0.8528, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7286/0.7286, allocations: 203.8 MB / 0.5049 GB, free: 0.707 MB / 410.7 MB " [Timeout remaining time 179] 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.000864/0.000864, allocations: 71.88 kB / 0.7195 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4167, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001297/0.418, allocations: 0.6631 MB / 0.8197 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.4189, allocations: 1.105 MB / 0.8208 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.4189, allocations: 1.406 kB / 0.8208 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.419, allocations: 0.5625 kB / 0.8208 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.76e-05/0.419, allocations: 10.94 kB / 0.8208 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.4193, allocations: 42.41 kB / 0.8208 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.789e-05/0.4193, allocations: 58.72 kB / 0.8209 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.4194, allocations: 9.266 kB / 0.8209 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.113e-05/0.4195, allocations: 13.88 kB / 0.8209 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.4195, allocations: 25.19 kB / 0.8209 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.4196, allocations: 4.125 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.399e-05/0.4196, allocations: 33.31 kB / 0.821 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.4196, allocations: 7.375 kB / 0.821 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.4197, allocations: 22.72 kB / 0.821 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.4198, allocations: 62.08 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4198, allocations: 3.938 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.562e-06/0.4198, allocations: 0 / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4198, allocations: 1.875 kB / 0.8211 GB, free: 23.85 MB / 0.6355 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.0003566/0.4202, allocations: 286.8 kB / 0.8214 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4202, allocations: 10.94 kB / 0.8214 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.4203, allocations: 18.38 kB / 0.8214 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.823e-05/0.4203, allocations: 107 kB / 0.8215 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.4203, allocations: 3.188 kB / 0.8215 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.4203, allocations: 4.266 kB / 0.8215 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.4205, allocations: 63.06 kB / 0.8215 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.4205, allocations: 192 / 0.8215 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.4205, allocations: 4.875 kB / 0.8216 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4205, allocations: 1.281 kB / 0.8216 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.771e-05/0.4206, allocations: 46.8 kB / 0.8216 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.4209, allocations: 267.5 kB / 0.8219 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.421, allocations: 55.62 kB / 0.8219 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.4211, allocations: 31.2 kB / 0.8219 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.4211, allocations: 1 kB / 0.8219 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.4212, allocations: 79.58 kB / 0.822 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.4212, allocations: 0 / 0.822 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002559/0.4215, allocations: 116.3 kB / 0.8221 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.4215, allocations: 53.72 kB / 0.8222 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.063e-05/0.4216, allocations: 109.9 kB / 0.8223 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.4216, allocations: 27.41 kB / 0.8223 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.4216, allocations: 90.89 kB / 0.8224 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.4216, allocations: 11.67 kB / 0.8224 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.4216, allocations: 28.61 kB / 0.8224 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.105e-05/0.4217, allocations: 315 kB / 0.8227 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.417e-05/0.4217, allocations: 28.08 kB / 0.8228 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.858e-05/0.4218, allocations: 65 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.4219, allocations: 94.83 kB / 0.8229 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4219, allocations: 1.672 kB / 0.8229 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001563/0.4221, allocations: 106.5 kB / 0.823 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4221, allocations: 6.125 kB / 0.823 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4221, allocations: 1.844 kB / 0.823 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4221, allocations: 2.047 kB / 0.823 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.4222, allocations: 19.25 kB / 0.823 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.4222, allocations: 1.312 kB / 0.823 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.4222, allocations: 15.81 kB / 0.8231 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.4222, allocations: 3.781 kB / 0.8231 GB, free: 22.14 MB / 0.6355 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 4.457e-05/0.4223, allocations: 127.8 kB / 0.8232 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-06/0.4223, allocations: 2.344 kB / 0.8232 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.4224, allocations: 105.3 kB / 0.8233 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4224, allocations: 0 / 0.8233 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4224, allocations: 5.156 kB / 0.8233 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4224, allocations: 1.125 kB / 0.8233 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.4227, allocations: 330 kB / 0.8236 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4227, allocations: 0 / 0.8236 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.4227, allocations: 9.219 kB / 0.8236 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4227, allocations: 0 / 0.8236 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.4227, allocations: 9.812 kB / 0.8236 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4227, allocations: 0 / 0.8236 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4227, allocations: 1.797 kB / 0.8236 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.4228, allocations: 194.7 kB / 0.8238 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.4228, allocations: 5.797 kB / 0.8238 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.4228, allocations: 2.469 kB / 0.8238 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.925e-05/0.4229, allocations: 9.828 kB / 0.8238 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.4229, allocations: 4.391 kB / 0.8238 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.4229, allocations: 10.16 kB / 0.8238 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.775e-05/0.4229, allocations: 87.58 kB / 0.8239 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4229, allocations: 0 / 0.8239 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001638/0.4231, allocations: 15.91 kB / 0.8239 GB, free: 21.39 MB / 0.6355 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 9.293e-05/0.4232, allocations: 100.8 kB / 0.824 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.4234, allocations: 69.27 kB / 0.8241 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.4234, allocations: 0.9062 kB / 0.8241 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/0.4234, allocations: 31.09 kB / 0.8241 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.4236, allocations: 9.938 kB / 0.8241 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.4239, allocations: 163.4 kB / 0.8243 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.657e-05/0.424, allocations: 0.6898 MB / 0.825 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.424, allocations: 12.27 kB / 0.825 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of SimCode: time 3.41e-07/0.424, allocations: 0 / 0.825 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.001977/0.426, allocations: 0.8828 MB / 0.8258 GB, free: 20.34 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.372233820147812] Failed to read output from testmodel.py, exit status != 0: 0.43153035012073815 0.43948583099999994 0.018204013 Calling exit ...