Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.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.001483/0.001483, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001961/0.001961, allocations: 213.7 kB / 22.24 MB, free: 4.859 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.621/1.621, allocations: 230.6 MB / 256 MB, free: 7.785 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.325/1.325, allocations: 203.8 MB / 0.5041 GB, free: 4.59 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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") [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.002496/0.002496, allocations: 67.89 kB / 0.7186 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7131, allocations: 102 MB / 0.8182 GB, free: 28.9 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.00368/0.7168, allocations: 1.48 MB / 0.8197 GB, free: 27.9 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.718, allocations: 451.1 kB / 0.8201 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.7181, allocations: 1.094 kB / 0.8201 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.565e-05/0.7181, allocations: 7.219 kB / 0.8201 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.7182, allocations: 6.156 kB / 0.8201 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.7184, allocations: 21.09 kB / 0.8201 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.7185, allocations: 56.19 kB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.7186, allocations: 10.77 kB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.7187, allocations: 22.14 kB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.7188, allocations: 20.67 kB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.7188, allocations: 4.469 kB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.7189, allocations: 5.281 kB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.7189, allocations: 13.91 kB / 0.8203 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.7189, allocations: 19.62 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.7191, allocations: 44.61 kB / 0.8203 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.7191, allocations: 1.406 kB / 0.8203 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7191, allocations: 0 / 0.8203 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.7191, allocations: 0.875 kB / 0.8203 GB, free: 27.5 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006566/0.7197, allocations: 286 kB / 0.8206 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.7198, allocations: 10.62 kB / 0.8206 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.7198, allocations: 4.969 kB / 0.8206 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.72, allocations: 123.7 kB / 0.8207 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.72, allocations: 2.5 kB / 0.8207 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.72, allocations: 10.03 kB / 0.8207 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.7202, allocations: 64.3 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.7202, allocations: 3.984 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.7202, allocations: 5.109 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.7202, allocations: 3.531 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/0.7203, allocations: 25.31 kB / 0.8208 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.7208, allocations: 237.5 kB / 0.8211 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.7209, allocations: 55.44 kB / 0.8211 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.721, allocations: 23.19 kB / 0.8211 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.721, allocations: 0 / 0.8211 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.7212, allocations: 75.77 kB / 0.8212 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.7212, allocations: 0 / 0.8212 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0002833/0.7215, allocations: 99.98 kB / 0.8213 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.7215, allocations: 62.39 kB / 0.8214 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.7216, allocations: 107.2 kB / 0.8215 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.7216, allocations: 29.53 kB / 0.8215 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.7216, allocations: 86.27 kB / 0.8216 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.7216, allocations: 22.08 kB / 0.8216 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.7217, allocations: 27.97 kB / 0.8216 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.7218, allocations: 318.8 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.7218, allocations: 24.34 kB / 0.822 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.7219, allocations: 42.81 kB / 0.822 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.853e-05/0.722, allocations: 66.06 kB / 0.8221 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.722, allocations: 0.9375 kB / 0.8221 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001558/0.7221, allocations: 100.9 kB / 0.8222 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.7221, allocations: 5.125 kB / 0.8222 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.7221, allocations: 1.875 kB / 0.8222 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.7222, allocations: 2.688 kB / 0.8222 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.7223, allocations: 8.844 kB / 0.8222 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.7223, allocations: 5.75 kB / 0.8222 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.7223, allocations: 10.38 kB / 0.8222 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.7223, allocations: 10.12 kB / 0.8222 GB, free: 25.83 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.29e-05/0.7224, allocations: 125.8 kB / 0.8223 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.7224, allocations: 11.11 kB / 0.8223 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.7225, allocations: 9.25 kB / 0.8223 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7225, allocations: 1.188 kB / 0.8223 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.7225, allocations: 1.172 kB / 0.8223 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7225, allocations: 5.672 kB / 0.8223 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.7229, allocations: 296.8 kB / 0.8226 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7229, allocations: 4.141 kB / 0.8226 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.7229, allocations: 8.438 kB / 0.8226 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7229, allocations: 0.6875 kB / 0.8226 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.7229, allocations: 9.594 kB / 0.8226 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7229, allocations: 1.156 kB / 0.8226 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7229, allocations: 0.5625 kB / 0.8226 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.7231, allocations: 183.7 kB / 0.8228 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.7232, allocations: 7.234 kB / 0.8228 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.7232, allocations: 1.562 kB / 0.8228 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.7233, allocations: 9.562 kB / 0.8228 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.7233, allocations: 11.8 kB / 0.8229 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.7233, allocations: 6.969 kB / 0.8229 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.7234, allocations: 80.34 kB / 0.8229 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7234, allocations: 0 / 0.8229 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002456/0.7236, allocations: 20.06 kB / 0.823 GB, free: 25.16 MB / 0.6387 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 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001011/0.7237, allocations: 95.05 kB / 0.823 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.7239, allocations: 52.81 kB / 0.8231 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7239, allocations: 192 / 0.8231 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.912e-05/0.724, allocations: 33.47 kB / 0.8231 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.7243, allocations: 15.38 kB / 0.8231 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.7247, allocations: 164.7 kB / 0.8233 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.313e-05/0.7248, allocations: 69.36 kB / 0.8234 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.137e-05/0.7248, allocations: 9.297 kB / 0.8234 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.7249, allocations: 14.97 kB / 0.8234 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.7249, allocations: 0 / 0.8234 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of Templates: time 0.004236/0.7291, allocations: 0.8335 MB / 0.8242 GB, free: 24.71 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.446590133011341] Failed to read output from testmodel.py, exit status != 0: 0.7386344876140356 0.752263297 0.03019731 Calling exit ...