Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.001852/0.001852, allocations: 110 kB / 18.93 MB, free: 2.945 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.002078/0.002078, allocations: 185.8 kB / 22.23 MB, free: 5.16 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.497/1.497, allocations: 225.6 MB / 251 MB, free: 13.01 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.186/1.186, allocations: 177.9 MB / 484.2 MB, free: 5.355 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset")
translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 68.11 kB / 0.674 GB, free: 10.77 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6678, allocations: 95.17 MB / 0.7669 GB, free: 7.91 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003321/0.6711, allocations: 1.827 MB / 0.7687 GB, free: 6.996 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.001021/0.6721, allocations: 0.5511 MB / 0.7693 GB, free: 6.605 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.6722, allocations: 6.531 kB / 0.7693 GB, free: 6.602 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.6724, allocations: 25.95 kB / 0.7693 GB, free: 6.582 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.6724, allocations: 25.45 kB / 0.7693 GB, free: 6.562 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.6727, allocations: 72.33 kB / 0.7694 GB, free: 6.523 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002367/0.6729, allocations: 167.8 kB / 0.7695 GB, free: 6.445 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.6731, allocations: 47.06 kB / 0.7696 GB, free: 6.422 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.6732, allocations: 62.94 kB / 0.7696 GB, free: 6.387 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.16e-05/0.6733, allocations: 57.64 kB / 0.7697 GB, free: 6.355 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.6733, allocations: 10 kB / 0.7697 GB, free: 6.355 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.556e-05/0.6733, allocations: 10.22 kB / 0.7697 GB, free: 6.355 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.6734, allocations: 29.36 kB / 0.7698 GB, free: 6.336 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 7.232e-05/0.6735, allocations: 68.11 kB / 0.7698 GB, free: 6.289 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.6736, allocations: 129.1 kB / 0.7699 GB, free: 6.234 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6737, allocations: 5.281 kB / 0.7699 GB, free: 6.23 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 2.034e-06/0.6737, allocations: 0 / 0.7699 GB, free: 6.23 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 1.317e-05/0.6737, allocations: 0 / 0.7699 GB, free: 6.23 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: 24
 * Number of variables: 24
Notification: Performance of Generate backend data structure: time 0.0008213/0.6745, allocations: 432.1 kB / 0.7704 GB, free: 5.871 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6745, allocations: 10 kB / 0.7704 GB, free: 5.871 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.6746, allocations: 18.31 kB / 0.7704 GB, free: 5.863 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.6749, allocations: 181.7 kB / 0.7706 GB, free: 5.695 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.675, allocations: 12.8 kB / 0.7706 GB, free: 5.688 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.675, allocations: 17.28 kB / 0.7706 GB, free: 5.68 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.6753, allocations: 150 kB / 0.7707 GB, free: 5.578 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6753, allocations: 4 kB / 0.7707 GB, free: 5.574 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.6754, allocations: 6.219 kB / 0.7707 GB, free: 5.57 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.6754, allocations: 2.156 kB / 0.7707 GB, free: 5.57 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.6756, allocations: 76.31 kB / 0.7708 GB, free: 5.547 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009787/0.6766, allocations: 0.7038 MB / 0.7715 GB, free: 4.91 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.6768, allocations: 44.84 kB / 0.7715 GB, free: 4.883 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.6769, allocations: 32.94 kB / 0.7716 GB, free: 4.867 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.6769, allocations: 8.5 kB / 0.7716 GB, free: 4.859 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.6772, allocations: 123.3 kB / 0.7717 GB, free: 4.762 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.6772, allocations: 0 / 0.7717 GB, free: 4.762 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=11): time 0.0006095/0.6778, allocations: 165.8 kB / 0.7719 GB, free: 4.691 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.6779, allocations: 134.5 kB / 0.772 GB, free: 4.531 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.6781, allocations: 201.5 kB / 0.7722 GB, free: 4.391 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.6781, allocations: 27.33 kB / 0.7722 GB, free: 4.359 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.6782, allocations: 129.6 kB / 0.7723 GB, free: 4.242 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.6783, allocations: 39.78 kB / 0.7724 GB, free: 4.211 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.6783, allocations: 44.38 kB / 0.7724 GB, free: 4.18 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 8.906e-05/0.6784, allocations: 329.4 kB / 0.7727 GB, free: 3.859 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.6786, allocations: 36.5 kB / 0.7728 GB, free: 3.852 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.6788, allocations: 155.4 kB / 0.7729 GB, free: 3.688 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.6791, allocations: 198.6 kB / 0.7731 GB, free: 3.508 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6791, allocations: 1.312 kB / 0.7731 GB, free: 3.508 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004539/0.6796, allocations: 207.8 kB / 0.7733 GB, free: 3.41 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.6796, allocations: 6.281 kB / 0.7733 GB, free: 3.41 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.6796, allocations: 3.969 kB / 0.7733 GB, free: 3.41 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/0.6796, allocations: 9.938 kB / 0.7733 GB, free: 3.406 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.6798, allocations: 41.11 kB / 0.7734 GB, free: 3.395 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.6798, allocations: 5.953 kB / 0.7734 GB, free: 3.395 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.68, allocations: 25.17 kB / 0.7734 GB, free: 3.387 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.68, allocations: 12.09 kB / 0.7734 GB, free: 3.383 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 17
 * Number of states: 0 ()
 * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (21):
 * Single equations (assignments): 21
 * 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.0001298/0.6801, allocations: 134.9 kB / 0.7735 GB, free: 3.254 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.6802, allocations: 16.84 kB / 0.7735 GB, free: 3.246 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.6802, allocations: 22.11 kB / 0.7736 GB, free: 3.23 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.6803, allocations: 1.891 kB / 0.7736 GB, free: 3.23 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.6803, allocations: 5.719 kB / 0.7736 GB, free: 3.227 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.6803, allocations: 5.266 kB / 0.7736 GB, free: 3.223 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008557/0.6811, allocations: 496.3 kB / 0.774 GB, free: 2.828 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.6811, allocations: 0.8125 kB / 0.774 GB, free: 2.828 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.6813, allocations: 19.3 kB / 0.7741 GB, free: 2.824 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6813, allocations: 6.125 kB / 0.7741 GB, free: 2.82 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.6813, allocations: 4.781 kB / 0.7741 GB, free: 2.82 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6813, allocations: 0.8125 kB / 0.7741 GB, free: 2.82 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.6813, allocations: 5.531 kB / 0.7741 GB, free: 2.816 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.6819, allocations: 363.4 kB / 0.7744 GB, free: 2.543 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.682, allocations: 18.45 kB / 0.7744 GB, free: 2.531 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.682, allocations: 2.734 kB / 0.7744 GB, free: 2.531 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.6822, allocations: 12.83 kB / 0.7745 GB, free: 2.531 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.6822, allocations: 17.33 kB / 0.7745 GB, free: 2.523 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.6823, allocations: 6.094 kB / 0.7745 GB, free: 2.523 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0001509/0.6824, allocations: 153 kB / 0.7746 GB, free: 2.418 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.6824, allocations: 4 kB / 0.7746 GB, free: 2.414 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.000379/0.6828, allocations: 26.19 kB / 0.7747 GB, free: 2.41 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y)
 * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (11):
 * Single equations (assignments): 10
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001782/0.683, allocations: 106.5 kB / 0.7748 GB, free: 2.316 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0004597/0.6834, allocations: 116.5 kB / 0.7749 GB, free: 2.281 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6834, allocations: 0 / 0.7749 GB, free: 2.281 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.6836, allocations: 47.72 kB / 0.7749 GB, free: 2.27 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.6843, allocations: 62.02 kB / 0.775 GB, free: 2.254 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009726/0.6852, allocations: 370.9 kB / 0.7753 GB, free: 1.973 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.6856, allocations: 0.724 MB / 0.776 GB, free: 1.273 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0001195/0.6858, allocations: 18.81 kB / 0.7761 GB, free: 1.27 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.6858, allocations: 18.19 kB / 0.7761 GB, free: 1.262 MB / 0.5762 GB
Notification: Performance of SimCode: time 9.22e-07/0.6858, allocations: 0 / 0.7761 GB, free: 1.262 MB / 0.5762 GB
Notification: Performance of Templates: time 0.007388/0.6932, allocations: 2.104 MB / 0.7781 GB, free: 1.078 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.677572068758309]
Failed to read output from testmodel.py, exit status != 0:
0.701589128933847 0.717133096 0.039858163
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6fece4d7b0>