Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.001421/0.001421, 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.001661/0.001661, allocations: 191.8 kB / 22.23 MB, free: 5.156 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.535/1.535, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8512/0.8512, allocations: 134 MB / 440.3 MB, free: 268 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset")
translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 56.12 kB / 0.6107 GB, free: 13.7 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2102, allocations: 84.72 MB / 0.6934 GB, free: 9.047 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006529/0.2167, allocations: 4.144 MB / 0.6975 GB, free: 4.879 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.003389/0.2201, allocations: 1.34 MB / 0.6988 GB, free: 3.531 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006814/0.2208, allocations: 31.75 kB / 0.6988 GB, free: 3.5 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.2212, allocations: 122.8 kB / 0.6989 GB, free: 3.379 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004837/0.2217, allocations: 190.3 kB / 0.6991 GB, free: 3.191 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.2227, allocations: 434.8 kB / 0.6995 GB, free: 2.77 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.001183/0.2239, allocations: 0.9554 MB / 0.7005 GB, free: 1.812 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.2245, allocations: 310.6 kB / 0.7008 GB, free: 1.488 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004489/0.2249, allocations: 354.7 kB / 0.7011 GB, free: 1.141 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.2253, allocations: 330.4 kB / 0.7014 GB, free: 0.8164 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.2254, allocations: 92 kB / 0.7015 GB, free: 0.7266 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.2256, allocations: 95.94 kB / 0.7016 GB, free: 0.6328 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.2258, allocations: 171.5 kB / 0.7018 GB, free: 476 kB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003868/0.2261, allocations: 398 kB / 0.7021 GB, free: 76 kB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.001238/0.2274, allocations: 1.062 MB / 0.7032 GB, free: 15 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2274, allocations: 4 kB / 0.7032 GB, free: 15 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.653e-06/0.2274, allocations: 0 / 0.7032 GB, free: 15 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 1.043e-05/0.2274, allocations: 0 / 0.7032 GB, free: 15 MB / 0.5294 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 146
 * Number of variables: 146
Notification: Performance of Generate backend data structure: time 0.002133/0.2295, allocations: 1.08 MB / 0.7042 GB, free: 13.88 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2296, allocations: 8.031 kB / 0.7042 GB, free: 13.87 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.2297, allocations: 88.42 kB / 0.7043 GB, free: 13.78 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.2308, allocations: 0.4999 MB / 0.7048 GB, free: 13.25 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.2308, allocations: 45.69 kB / 0.7049 GB, free: 13.21 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/0.2309, allocations: 60.38 kB / 0.7049 GB, free: 13.15 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.2321, allocations: 0.6117 MB / 0.7055 GB, free: 12.52 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.2321, allocations: 0 / 0.7055 GB, free: 12.52 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/0.2322, allocations: 20 kB / 0.7055 GB, free: 12.5 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.2322, allocations: 16 kB / 0.7055 GB, free: 12.48 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.2333, allocations: 461 kB / 0.706 GB, free: 12.03 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.2364, allocations: 1.951 MB / 0.7079 GB, free: 10.02 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.2374, allocations: 429.4 kB / 0.7083 GB, free: 9.59 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.2379, allocations: 218.1 kB / 0.7085 GB, free: 9.375 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.2379, allocations: 8.438 kB / 0.7085 GB, free: 9.367 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006012/0.2385, allocations: 265.3 kB / 0.7088 GB, free: 9.094 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=49): time 2.755e-06/0.2385, allocations: 0 / 0.7088 GB, free: 9.094 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=49): time 0.001401/0.2399, allocations: 0.5807 MB / 0.7093 GB, free: 8.512 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.24, allocations: 63.83 kB / 0.7094 GB, free: 8.438 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005694/0.2406, allocations: 446 kB / 0.7098 GB, free: 7.992 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.2406, allocations: 41.69 kB / 0.7099 GB, free: 7.945 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.2409, allocations: 328.8 kB / 0.7102 GB, free: 7.621 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.2411, allocations: 182.4 kB / 0.7104 GB, free: 7.441 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.2412, allocations: 90.34 kB / 0.7104 GB, free: 7.344 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0002149/0.2414, allocations: 362.8 kB / 0.7108 GB, free: 6.98 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.2419, allocations: 169.2 kB / 0.7109 GB, free: 6.816 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.2424, allocations: 250.7 kB / 0.7112 GB, free: 6.543 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009166/0.2433, allocations: 451 kB / 0.7116 GB, free: 6.066 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2433, allocations: 0 / 0.7116 GB, free: 6.066 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=66) (initialization): time 0.00118/0.2445, allocations: 0.5651 MB / 0.7122 GB, free: 5.488 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.2445, allocations: 37.64 kB / 0.7122 GB, free: 5.445 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2445, allocations: 0 / 0.7122 GB, free: 5.445 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.2445, allocations: 7.938 kB / 0.7122 GB, free: 5.438 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.2451, allocations: 115.9 kB / 0.7123 GB, free: 5.324 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.2451, allocations: 7.938 kB / 0.7123 GB, free: 5.316 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.2454, allocations: 55.64 kB / 0.7124 GB, free: 5.262 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.2455, allocations: 24.22 kB / 0.7124 GB, free: 5.238 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * Number of states: 0 ()
 * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (65):
 * Single equations (assignments): 64
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0003371/0.2458, allocations: 204.5 kB / 0.7126 GB, free: 5.031 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.2459, allocations: 63.56 kB / 0.7127 GB, free: 4.969 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.246, allocations: 69.56 kB / 0.7127 GB, free: 4.902 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2461, allocations: 4 kB / 0.7127 GB, free: 4.898 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2461, allocations: 0 / 0.7127 GB, free: 4.898 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.2461, allocations: 3.984 kB / 0.7127 GB, free: 4.895 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.248, allocations: 1.158 MB / 0.7139 GB, free: 3.688 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.248, allocations: 0 / 0.7139 GB, free: 3.688 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.2485, allocations: 91.89 kB / 0.714 GB, free: 3.598 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2485, allocations: 0 / 0.714 GB, free: 3.598 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.2485, allocations: 11.98 kB / 0.714 GB, free: 3.586 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2486, allocations: 0 / 0.714 GB, free: 3.586 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2486, allocations: 0 / 0.714 GB, free: 3.586 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.25, allocations: 0.7691 MB / 0.7147 GB, free: 2.797 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.2502, allocations: 95.58 kB / 0.7148 GB, free: 2.703 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.2503, allocations: 8 kB / 0.7148 GB, free: 2.695 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.2506, allocations: 27.97 kB / 0.7148 GB, free: 2.668 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.2507, allocations: 36.38 kB / 0.7149 GB, free: 2.633 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.2507, allocations: 16 kB / 0.7149 GB, free: 2.617 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.000407/0.2511, allocations: 310.9 kB / 0.7152 GB, free: 2.316 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.2511, allocations: 3.938 kB / 0.7152 GB, free: 2.312 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0005194/0.2517, allocations: 139.6 kB / 0.7153 GB, free: 2.176 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T)
 * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y)
 * Number of discrete states: 1 (TSet.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (49):
 * Single equations (assignments): 47
 * 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.0001653/0.2518, allocations: 117.7 kB / 0.7154 GB, free: 2.055 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.001021/0.2529, allocations: 460.6 kB / 0.7159 GB, free: 1.594 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2529, allocations: 0 / 0.7159 GB, free: 1.594 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.2533, allocations: 206.8 kB / 0.7161 GB, free: 1.395 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000812/0.2541, allocations: 160.6 kB / 0.7162 GB, free: 1.242 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.2571, allocations: 1.362 MB / 0.7176 GB, free: 15.85 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.2577, allocations: 0.89 MB / 0.7184 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0002856/0.258, allocations: 60.61 kB / 0.7185 GB, free: 14.87 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.2581, allocations: 47.41 kB / 0.7185 GB, free: 14.83 MB / 0.545 GB
Notification: Performance of SimCode: time 1.022e-06/0.2581, allocations: 0 / 0.7185 GB, free: 14.83 MB / 0.545 GB
Notification: Performance of Templates: time 0.01374/0.2718, allocations: 6.295 MB / 0.7247 GB, free: 8.617 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.384533181786537]
Failed to read output from testmodel.py, exit status != 0:
0.28010182082653046 0.296462538 0.06561752800000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1e5a2f57b0>