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.0009029/0.0009029, allocations: 115 kB / 19.7 MB, free: 0.5312 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.001059/0.001059, allocations: 203.2 kB / 23 MB, free: 3.129 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.9552/0.9552, allocations: 230.6 MB / 256.8 MB, free: 3.551 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.7675/0.7675, allocations: 203.8 MB / 0.5049 GB, free: 0.7266 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.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.001009/0.001009, allocations: 62.28 kB / 0.7194 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5102, allocations: 102 MB / 0.8191 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001901/0.5121, allocations: 1.484 MB / 0.8205 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005305/0.5126, allocations: 496.3 kB / 0.821 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.5126, allocations: 0 / 0.821 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.5127, allocations: 3.938 kB / 0.821 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.526e-05/0.5127, allocations: 11.92 kB / 0.821 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.5129, allocations: 23.91 kB / 0.821 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.211e-05/0.513, allocations: 51.84 kB / 0.8211 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.5131, allocations: 11.98 kB / 0.8211 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.5131, allocations: 23.86 kB / 0.8211 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.5132, allocations: 23.92 kB / 0.8211 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.5132, allocations: 4 kB / 0.8211 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.5132, allocations: 8 kB / 0.8211 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.5132, allocations: 11.97 kB / 0.8211 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.5133, allocations: 27.86 kB / 0.8212 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.353e-05/0.5134, allocations: 39.69 kB / 0.8212 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5134, allocations: 0 / 0.8212 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5134, allocations: 0 / 0.8212 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.5134, allocations: 3.938 kB / 0.8212 GB, free: 12.33 MB / 0.6042 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.0004028/0.5138, allocations: 289 kB / 0.8215 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.5138, allocations: 13.47 kB / 0.8215 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.5138, allocations: 8.875 kB / 0.8215 GB, free: 12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.165e-05/0.5139, allocations: 110.5 kB / 0.8216 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.5139, allocations: 8.359 kB / 0.8216 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.514, allocations: 8.312 kB / 0.8216 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.152e-05/0.5141, allocations: 61.81 kB / 0.8217 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.5141, allocations: 0 / 0.8217 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5141, allocations: 4 kB / 0.8217 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.5141, allocations: 0 / 0.8217 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.723e-05/0.5141, allocations: 27.97 kB / 0.8217 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.5145, allocations: 279.8 kB / 0.822 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.633e-05/0.5146, allocations: 46.56 kB / 0.822 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.5146, allocations: 20.95 kB / 0.8221 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.5146, allocations: 4 kB / 0.8221 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.5147, allocations: 83.36 kB / 0.8221 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 8.31e-07/0.5147, allocations: 0 / 0.8221 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0001727/0.5149, allocations: 97.61 kB / 0.8222 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.5149, allocations: 51.41 kB / 0.8223 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.515, allocations: 109.8 kB / 0.8224 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.515, allocations: 29.7 kB / 0.8224 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.515, allocations: 84.14 kB / 0.8225 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.515, allocations: 23.84 kB / 0.8225 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.5151, allocations: 33.7 kB / 0.8225 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.5151, allocations: 323.1 kB / 0.8229 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.5152, allocations: 16 kB / 0.8229 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.5152, allocations: 43.42 kB / 0.8229 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.108e-05/0.5153, allocations: 75.3 kB / 0.823 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5153, allocations: 3.938 kB / 0.823 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.755e-05/0.5153, allocations: 97.78 kB / 0.8231 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.5154, allocations: 8 kB / 0.8231 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5154, allocations: 0 / 0.8231 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.5154, allocations: 0 / 0.8231 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.5154, allocations: 11.98 kB / 0.8231 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5154, allocations: 4 kB / 0.8231 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.5155, allocations: 11.94 kB / 0.8231 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.5155, allocations: 11.92 kB / 0.8231 GB, free: 10.16 MB / 0.6042 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 5.893e-05/0.5155, allocations: 122.8 kB / 0.8232 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-06/0.5155, allocations: 0 / 0.8232 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.5156, allocations: 12.06 kB / 0.8233 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.5156, allocations: 0 / 0.8233 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5156, allocations: 0 / 0.8233 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5156, allocations: 64 / 0.8233 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.5158, allocations: 333.5 kB / 0.8236 GB, free: 9.645 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5158, allocations: 4 kB / 0.8236 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.5158, allocations: 7.984 kB / 0.8236 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.5158, allocations: 0 / 0.8236 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.5158, allocations: 4 kB / 0.8236 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5158, allocations: 3.938 kB / 0.8236 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5158, allocations: 0 / 0.8236 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.516, allocations: 183.4 kB / 0.8238 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-06/0.516, allocations: 4 kB / 0.8238 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-06/0.516, allocations: 4 kB / 0.8238 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.167e-05/0.5161, allocations: 11.92 kB / 0.8238 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.5161, allocations: 11.98 kB / 0.8238 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.5161, allocations: 3.938 kB / 0.8238 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.814e-05/0.5162, allocations: 79.47 kB / 0.8239 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5162, allocations: 0 / 0.8239 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001449/0.5163, allocations: 19.94 kB / 0.8239 GB, free: 9.297 MB / 0.6042 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 6.686e-05/0.5164, allocations: 99.19 kB / 0.824 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.5165, allocations: 55.91 kB / 0.824 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5165, allocations: 0 / 0.824 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.5165, allocations: 23.94 kB / 0.8241 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.5167, allocations: 17.95 kB / 0.8241 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.517, allocations: 198.8 kB / 0.8243 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.5171, allocations: 0.6924 MB / 0.825 GB, free: 8.152 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.5172, allocations: 11.44 kB / 0.825 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.5172, allocations: 0 / 0.825 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of Templates: time 0.001517/0.5187, allocations: 0.8722 MB / 0.8258 GB, free: 7.277 MB / 0.6042 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: 5.7480910969898105] Failed to read output from testmodel.py, exit status != 0: 0.524394721025601 0.531727583 0.016713882 Calling exit ...