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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003185/0.003185, allocations: 190.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.125/1.125, allocations: 177.9 MB / 484.2 MB, free: 5.398 MB / 382.1 MB
"
[Timeout remaining time 178]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 64.2 kB / 0.6739 GB, free: 10.85 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.695/0.697, allocations: 95.17 MB / 0.7669 GB, free: 8.512 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002744/0.6997, allocations: 1.482 MB / 0.7683 GB, free: 7.5 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0007546/0.7005, allocations: 451.9 kB / 0.7688 GB, free: 7.191 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.7005, allocations: 1.031 kB / 0.7688 GB, free: 7.191 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.7006, allocations: 5.203 kB / 0.7688 GB, free: 7.188 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 8.143e-05/0.7006, allocations: 10.34 kB / 0.7688 GB, free: 7.18 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.7008, allocations: 21.7 kB / 0.7688 GB, free: 7.168 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001015/0.7009, allocations: 55.95 kB / 0.7689 GB, free: 7.141 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.701, allocations: 10.11 kB / 0.7689 GB, free: 7.137 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.7011, allocations: 18.77 kB / 0.7689 GB, free: 7.129 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.7011, allocations: 26.98 kB / 0.7689 GB, free: 7.113 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.7012, allocations: 4.031 kB / 0.7689 GB, free: 7.113 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.7012, allocations: 4.344 kB / 0.7689 GB, free: 7.113 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.7012, allocations: 9.344 kB / 0.7689 GB, free: 7.109 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.7013, allocations: 28.27 kB / 0.769 GB, free: 7.09 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.7014, allocations: 40.36 kB / 0.769 GB, free: 7.078 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7014, allocations: 4 kB / 0.769 GB, free: 7.074 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.874e-06/0.7014, allocations: 1.062 kB / 0.769 GB, free: 7.074 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.953e-06/0.7014, allocations: 0 / 0.769 GB, free: 7.074 MB / 0.5762 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.000522/0.7019, allocations: 287.1 kB / 0.7693 GB, free: 6.801 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.702, allocations: 13.64 kB / 0.7693 GB, free: 6.797 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.702, allocations: 8.047 kB / 0.7693 GB, free: 6.793 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.7021, allocations: 111.9 kB / 0.7694 GB, free: 6.664 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.7021, allocations: 3.031 kB / 0.7694 GB, free: 6.664 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.7021, allocations: 13.67 kB / 0.7694 GB, free: 6.656 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.7023, allocations: 57.75 kB / 0.7695 GB, free: 6.613 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7023, allocations: 0 / 0.7695 GB, free: 6.613 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.7023, allocations: 0 / 0.7695 GB, free: 6.613 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7023, allocations: 2.422 kB / 0.7695 GB, free: 6.613 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.973e-05/0.7024, allocations: 34 kB / 0.7695 GB, free: 6.598 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.7028, allocations: 276.4 kB / 0.7698 GB, free: 6.34 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.703, allocations: 58 kB / 0.7698 GB, free: 6.297 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.703, allocations: 20.38 kB / 0.7698 GB, free: 6.285 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.617e-06/0.703, allocations: 1.344 kB / 0.7698 GB, free: 6.285 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.7032, allocations: 70.11 kB / 0.7699 GB, free: 6.23 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.7032, allocations: 0 / 0.7699 GB, free: 6.23 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=9): time 0.0002605/0.7034, allocations: 99.98 kB / 0.77 GB, free: 6.176 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.7035, allocations: 56.69 kB / 0.7701 GB, free: 6.109 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.7035, allocations: 109.1 kB / 0.7702 GB, free: 6.004 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.7035, allocations: 28.39 kB / 0.7702 GB, free: 5.973 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.7036, allocations: 93.44 kB / 0.7703 GB, free: 5.879 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.7036, allocations: 19.83 kB / 0.7703 GB, free: 5.863 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.7036, allocations: 33.8 kB / 0.7703 GB, free: 5.836 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 6.113e-05/0.7037, allocations: 320 kB / 0.7706 GB, free: 5.52 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.7037, allocations: 14.44 kB / 0.7706 GB, free: 5.516 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.7038, allocations: 51.81 kB / 0.7707 GB, free: 5.469 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.865e-05/0.7039, allocations: 75.28 kB / 0.7708 GB, free: 5.41 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.7039, allocations: 0 / 0.7708 GB, free: 5.41 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001338/0.704, allocations: 96.86 kB / 0.7709 GB, free: 5.352 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.704, allocations: 5.656 kB / 0.7709 GB, free: 5.352 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.704, allocations: 5.062 kB / 0.7709 GB, free: 5.348 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7041, allocations: 1.031 kB / 0.7709 GB, free: 5.348 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.7041, allocations: 14.77 kB / 0.7709 GB, free: 5.344 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.7042, allocations: 1.094 kB / 0.7709 GB, free: 5.344 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.7042, allocations: 14.92 kB / 0.7709 GB, free: 5.336 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.7042, allocations: 3.406 kB / 0.7709 GB, free: 5.336 MB / 0.5762 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.789e-05/0.7043, allocations: 124.2 kB / 0.771 GB, free: 5.211 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.7043, allocations: 2.25 kB / 0.771 GB, free: 5.211 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.7044, allocations: 17.12 kB / 0.771 GB, free: 5.188 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7044, allocations: 3.281 kB / 0.771 GB, free: 5.188 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7044, allocations: 1.094 kB / 0.771 GB, free: 5.188 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7044, allocations: 0 / 0.771 GB, free: 5.188 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.7047, allocations: 330.4 kB / 0.7714 GB, free: 4.891 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7047, allocations: 0 / 0.7714 GB, free: 4.891 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.7047, allocations: 9.75 kB / 0.7714 GB, free: 4.887 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.7047, allocations: 1.188 kB / 0.7714 GB, free: 4.887 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.7048, allocations: 0.8438 kB / 0.7714 GB, free: 4.887 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.7048, allocations: 7.938 kB / 0.7714 GB, free: 4.879 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7048, allocations: 1.125 kB / 0.7714 GB, free: 4.879 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.7049, allocations: 177.9 kB / 0.7716 GB, free: 4.73 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.7049, allocations: 6.547 kB / 0.7716 GB, free: 4.727 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.7049, allocations: 2.312 kB / 0.7716 GB, free: 4.727 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.705, allocations: 14.23 kB / 0.7716 GB, free: 4.719 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.7051, allocations: 9.391 kB / 0.7716 GB, free: 4.719 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-06/0.7051, allocations: 6.156 kB / 0.7716 GB, free: 4.715 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 2.783e-05/0.7051, allocations: 83.16 kB / 0.7717 GB, free: 4.637 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 9e-08/0.7051, allocations: 3.938 kB / 0.7717 GB, free: 4.633 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002295/0.7053, allocations: 11.38 kB / 0.7717 GB, free: 4.633 MB / 0.5762 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 8.891e-05/0.7054, allocations: 105.2 kB / 0.7718 GB, free: 4.539 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001523/0.7056, allocations: 50.28 kB / 0.7718 GB, free: 4.523 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7056, allocations: 0 / 0.7718 GB, free: 4.523 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 5.822e-05/0.7056, allocations: 26 kB / 0.7719 GB, free: 4.516 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.7059, allocations: 19.39 kB / 0.7719 GB, free: 4.508 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.7063, allocations: 158.2 kB / 0.772 GB, free: 4.379 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.7065, allocations: 0.688 MB / 0.7727 GB, free: 3.68 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 2.993e-05/0.7065, allocations: 8.25 kB / 0.7727 GB, free: 3.68 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.7065, allocations: 10.81 kB / 0.7727 GB, free: 3.676 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.91e-07/0.7065, allocations: 0 / 0.7727 GB, free: 3.676 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003743/0.7103, allocations: 0.8245 MB / 0.7735 GB, free: 3.578 MB / 0.5762 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: 6.938289514742792]
Failed to read output from testmodel.py, exit status != 0:
0.7184267714619637 0.732622001 0.027725072000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2dad4397b0>