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.001481/0.001481, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001915/0.001915, allocations: 209.2 kB / 22.24 MB, free: 5.262 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.77 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.282/1.282, allocations: 203.8 MB / 0.5041 GB, free: 4.578 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.002236/0.002236, allocations: 62.28 kB / 0.7186 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5981/0.6004, allocations: 102 MB / 0.8183 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002067/0.6024, allocations: 0.6484 MB / 0.8189 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.6042, allocations: 1.081 MB / 0.8199 GB, free: 132 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.6042, allocations: 0 / 0.8199 GB, free: 132 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.6042, allocations: 3.938 kB / 0.8199 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.6043, allocations: 7.938 kB / 0.82 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.6046, allocations: 43.83 kB / 0.82 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.6047, allocations: 55.78 kB / 0.8201 GB, free: 20 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.6048, allocations: 8 kB / 0.8201 GB, free: 12 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.6048, allocations: 20 kB / 0.8201 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.6049, allocations: 19.83 kB / 0.8201 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.6049, allocations: 4 kB / 0.8201 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.605, allocations: 27.98 kB / 0.8201 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.605, allocations: 7.984 kB / 0.8201 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.605, allocations: 15.88 kB / 0.8201 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.6052, allocations: 59.64 kB / 0.8202 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6052, allocations: 0 / 0.8202 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6052, allocations: 8 kB / 0.8202 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.6052, allocations: 0 / 0.8202 GB, free: 15.86 MB / 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.000682/0.6059, allocations: 288.7 kB / 0.8205 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.6059, allocations: 13.47 kB / 0.8205 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.606, allocations: 8.828 kB / 0.8205 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.6062, allocations: 114.5 kB / 0.8206 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.6062, allocations: 8.375 kB / 0.8206 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.6062, allocations: 384 / 0.8206 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.6064, allocations: 62.23 kB / 0.8207 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.6064, allocations: 4.188 kB / 0.8207 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.6065, allocations: 7.875 kB / 0.8207 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6065, allocations: 0 / 0.8207 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.6066, allocations: 39.95 kB / 0.8207 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.6072, allocations: 240.4 kB / 0.821 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.6074, allocations: 46.56 kB / 0.821 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.6075, allocations: 40.83 kB / 0.821 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.6075, allocations: 7.984 kB / 0.8211 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.6077, allocations: 71.38 kB / 0.8211 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.6077, allocations: 3.938 kB / 0.8211 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004177/0.6081, allocations: 109.6 kB / 0.8212 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.6082, allocations: 59.39 kB / 0.8213 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.6083, allocations: 113.8 kB / 0.8214 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.6083, allocations: 25.7 kB / 0.8214 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.6084, allocations: 96 kB / 0.8215 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.6084, allocations: 7.906 kB / 0.8215 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.6084, allocations: 29.7 kB / 0.8216 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6086, allocations: 310.8 kB / 0.8218 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.6087, allocations: 27.97 kB / 0.8219 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.6088, allocations: 64.2 kB / 0.8219 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.6091, allocations: 84.2 kB / 0.822 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6091, allocations: 0 / 0.822 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002897/0.6094, allocations: 117.6 kB / 0.8221 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.6094, allocations: 8 kB / 0.8221 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6094, allocations: 0 / 0.8221 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6094, allocations: 4 kB / 0.8221 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.6096, allocations: 15.98 kB / 0.8222 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6096, allocations: 0 / 0.8222 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.6096, allocations: 19.88 kB / 0.8222 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.6097, allocations: 4 kB / 0.8222 GB, free: 13.64 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.0001092/0.6098, allocations: 118.8 kB / 0.8223 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.6098, allocations: 7.938 kB / 0.8223 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.6101, allocations: 106.1 kB / 0.8224 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6101, allocations: 0 / 0.8224 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6101, allocations: 0 / 0.8224 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.6101, allocations: 0 / 0.8224 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.6105, allocations: 302.3 kB / 0.8227 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6105, allocations: 256 / 0.8227 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-05/0.6106, allocations: 15.98 kB / 0.8227 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6106, allocations: 7.938 kB / 0.8227 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.6106, allocations: 0 / 0.8227 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6106, allocations: 0 / 0.8227 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6106, allocations: 3.938 kB / 0.8227 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.611, allocations: 200.7 kB / 0.8229 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.611, allocations: 3.953 kB / 0.8229 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.611, allocations: 4 kB / 0.8229 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.361e-05/0.6111, allocations: 8 kB / 0.8229 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.6111, allocations: 3.984 kB / 0.8229 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.6111, allocations: 8 kB / 0.8229 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.305e-05/0.6112, allocations: 87.27 kB / 0.823 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6112, allocations: 0 / 0.823 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002456/0.6114, allocations: 12 kB / 0.823 GB, free: 12.7 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.0001707/0.6116, allocations: 99.19 kB / 0.8231 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.6119, allocations: 71.81 kB / 0.8232 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6119, allocations: 4.312 kB / 0.8232 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.612, allocations: 27.98 kB / 0.8232 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.6122, allocations: 14.83 kB / 0.8232 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.6126, allocations: 134.1 kB / 0.8234 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.651e-05/0.6127, allocations: 71.19 kB / 0.8234 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.6127, allocations: 4 kB / 0.8234 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.6128, allocations: 15.44 kB / 0.8234 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.6128, allocations: 0 / 0.8234 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of Templates: time 0.003736/0.6165, allocations: 0.8564 MB / 0.8243 GB, free: 11.38 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.736329892650247] Failed to read output from testmodel.py, exit status != 0: 0.6255509294569492 0.640173136 0.031982127 Calling exit ...