Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.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.001299/0.001299, allocations: 114.2 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.001662/0.001662, allocations: 189 kB / 22.22 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.561/1.561, 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-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.199/1.199, allocations: 177.9 MB / 484.2 MB, free: 5.383 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.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck")
translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 72.05 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6622/0.6643, allocations: 95.17 MB / 0.7669 GB, free: 7.957 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002434/0.6667, allocations: 1.271 MB / 0.7681 GB, free: 7.379 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.2123/0.879, allocations: 138.1 MB / 0.903 GB, free: 7.289 MB / 0.6856 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.879, allocations: 0 / 0.903 GB, free: 7.289 MB / 0.6856 GB
Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.879, allocations: 3.984 kB / 0.903 GB, free: 7.285 MB / 0.6856 GB
Notification: Performance of NFTyping.typeBindings: time 8.6e-05/0.8791, allocations: 3.938 kB / 0.903 GB, free: 7.281 MB / 0.6856 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.8811, allocations: 470.2 kB / 0.9035 GB, free: 6.824 MB / 0.6856 GB
Notification: Performance of NFFlatten.flatten: time 0.0001381/0.8813, allocations: 35.86 kB / 0.9035 GB, free: 6.789 MB / 0.6856 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.8813, allocations: 4 kB / 0.9035 GB, free: 6.785 MB / 0.6856 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.8814, allocations: 27.91 kB / 0.9035 GB, free: 6.758 MB / 0.6856 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.8815, allocations: 15.98 kB / 0.9036 GB, free: 6.742 MB / 0.6856 GB
Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.8815, allocations: 4 kB / 0.9036 GB, free: 6.738 MB / 0.6856 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.8835, allocations: 0.8425 MB / 0.9044 GB, free: 5.895 MB / 0.6856 GB
Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.8835, allocations: 7.984 kB / 0.9044 GB, free: 5.887 MB / 0.6856 GB
Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.8835, allocations: 15.94 kB / 0.9044 GB, free: 5.871 MB / 0.6856 GB
Notification: Performance of NFConvertDAE.convert: time 0.001006/0.8845, allocations: 441.6 kB / 0.9048 GB, free: 5.445 MB / 0.6856 GB
Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.8846, allocations: 3.984 kB / 0.9048 GB, free: 5.441 MB / 0.6856 GB
Notification: Performance of FrontEnd: time 2.004e-06/0.8846, allocations: 0 / 0.9048 GB, free: 5.441 MB / 0.6856 GB
Notification: Performance of Transformations before backend: time 8.005e-06/0.8846, allocations: 0 / 0.9048 GB, free: 5.441 MB / 0.6856 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0007872/0.8853, allocations: 298.1 kB / 0.9051 GB, free: 5.121 MB / 0.6856 GB
Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.8854, allocations: 12.03 kB / 0.9051 GB, free: 5.109 MB / 0.6856 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.8857, allocations: 12.92 kB / 0.9051 GB, free: 5.098 MB / 0.6856 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.8858, allocations: 114.5 kB / 0.9052 GB, free: 4.961 MB / 0.6856 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.8858, allocations: 384 / 0.9052 GB, free: 4.961 MB / 0.6856 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.8859, allocations: 8.125 kB / 0.9053 GB, free: 4.953 MB / 0.6856 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.8861, allocations: 53.67 kB / 0.9053 GB, free: 4.895 MB / 0.6856 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.8861, allocations: 0 / 0.9053 GB, free: 4.895 MB / 0.6856 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.8861, allocations: 0 / 0.9053 GB, free: 4.895 MB / 0.6856 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8861, allocations: 4 kB / 0.9053 GB, free: 4.891 MB / 0.6856 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.8862, allocations: 19.97 kB / 0.9053 GB, free: 4.871 MB / 0.6856 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.8864, allocations: 144.6 kB / 0.9055 GB, free: 4.688 MB / 0.6856 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.8865, allocations: 50.5 kB / 0.9055 GB, free: 4.629 MB / 0.6856 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.8865, allocations: 24.78 kB / 0.9055 GB, free: 4.602 MB / 0.6856 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01217/0.8987, allocations: 2.856 MB / 0.9083 GB, free: 1.742 MB / 0.6856 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/0.8988, allocations: 38.56 kB / 0.9084 GB, free: 1.695 MB / 0.6856 GB
Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.8988, allocations: 4 kB / 0.9084 GB, free: 1.691 MB / 0.6856 GB
Notification: Performance of matching and sorting (n=11): time 0.04663/0.9454, allocations: 14.91 MB / 0.9229 GB, free: 2.641 MB / 0.7012 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.9455, allocations: 59.34 kB / 0.923 GB, free: 2.57 MB / 0.7012 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.9455, allocations: 97.8 kB / 0.9231 GB, free: 2.465 MB / 0.7012 GB
Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.9456, allocations: 29.7 kB / 0.9231 GB, free: 2.43 MB / 0.7012 GB
Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.9456, allocations: 84.08 kB / 0.9232 GB, free: 2.344 MB / 0.7012 GB
Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.9457, allocations: 43.64 kB / 0.9232 GB, free: 2.301 MB / 0.7012 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.9457, allocations: 33.7 kB / 0.9233 GB, free: 2.262 MB / 0.7012 GB
Notification: Performance of setup shared object (initialization): time 0.0001711/0.9459, allocations: 314.8 kB / 0.9236 GB, free: 1.945 MB / 0.7012 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.946, allocations: 27.98 kB / 0.9236 GB, free: 1.918 MB / 0.7012 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-05/0.946, allocations: 27.98 kB / 0.9236 GB, free: 1.891 MB / 0.7012 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.9462, allocations: 67.42 kB / 0.9237 GB, free: 1.824 MB / 0.7012 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9462, allocations: 0 / 0.9237 GB, free: 1.824 MB / 0.7012 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002437/0.9464, allocations: 97.67 kB / 0.9238 GB, free: 1.723 MB / 0.7012 GB
Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.9464, allocations: 4 kB / 0.9238 GB, free: 1.719 MB / 0.7012 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.9464, allocations: 0 / 0.9238 GB, free: 1.719 MB / 0.7012 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.9465, allocations: 7.938 kB / 0.9238 GB, free: 1.711 MB / 0.7012 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.9466, allocations: 23.98 kB / 0.9238 GB, free: 1.688 MB / 0.7012 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.9466, allocations: 4 kB / 0.9238 GB, free: 1.684 MB / 0.7012 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.9466, allocations: 0 / 0.9238 GB, free: 1.684 MB / 0.7012 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.9466, allocations: 8 kB / 0.9238 GB, free: 1.676 MB / 0.7012 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (14):
 * Single equations (assignments): 14
 * 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.0001272/0.9468, allocations: 121.7 kB / 0.9239 GB, free: 1.547 MB / 0.7012 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.9468, allocations: 7.953 kB / 0.9239 GB, free: 1.539 MB / 0.7012 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.9472, allocations: 121.4 kB / 0.9241 GB, free: 1.414 MB / 0.7012 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.9472, allocations: 0 / 0.9241 GB, free: 1.414 MB / 0.7012 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.9472, allocations: 0 / 0.9241 GB, free: 1.414 MB / 0.7012 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.9472, allocations: 15.92 kB / 0.9241 GB, free: 1.398 MB / 0.7012 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.9474, allocations: 144.7 kB / 0.9242 GB, free: 1.215 MB / 0.7012 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.9474, allocations: 7.922 kB / 0.9242 GB, free: 1.207 MB / 0.7012 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.9475, allocations: 24 kB / 0.9242 GB, free: 1.184 MB / 0.7012 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9475, allocations: 0 / 0.9242 GB, free: 1.184 MB / 0.7012 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.9476, allocations: 3.984 kB / 0.9243 GB, free: 1.18 MB / 0.7012 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.9476, allocations: 0 / 0.9243 GB, free: 1.18 MB / 0.7012 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9476, allocations: 4 kB / 0.9243 GB, free: 1.176 MB / 0.7012 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.948, allocations: 152.9 kB / 0.9244 GB, free: 1.008 MB / 0.7012 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.948, allocations: 20.03 kB / 0.9244 GB, free: 0.9883 MB / 0.7012 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.9481, allocations: 3.984 kB / 0.9244 GB, free: 0.9844 MB / 0.7012 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.9482, allocations: 8 kB / 0.9244 GB, free: 0.9766 MB / 0.7012 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.9482, allocations: 11.98 kB / 0.9244 GB, free: 0.9648 MB / 0.7012 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.9483, allocations: 7.984 kB / 0.9245 GB, free: 0.957 MB / 0.7012 GB
Notification: Performance of sorting global known variables: time 5.9e-05/0.9483, allocations: 75.28 kB / 0.9245 GB, free: 0.8828 MB / 0.7012 GB
Notification: Performance of sort global known variables: time 7e-08/0.9483, allocations: 4.094 kB / 0.9245 GB, free: 0.8789 MB / 0.7012 GB
Notification: Performance of remove unused functions: time 0.00274/0.9511, allocations: 0.5699 MB / 0.9251 GB, free: 316 kB / 0.7012 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (hVapSym,cpSym,cvSym)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (11):
 * Single equations (assignments): 11
 * 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 Backend phase and start with SimCode phase: time 0.004324/0.9554, allocations: 354.8 kB / 0.9254 GB, free: 15.95 MB / 0.7169 GB
Notification: Performance of simCode: created initialization part: time 0.0002933/0.9557, allocations: 63.91 kB / 0.9255 GB, free: 15.89 MB / 0.7169 GB
Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9557, allocations: 4 kB / 0.9255 GB, free: 15.88 MB / 0.7169 GB
Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.9557, allocations: 27.92 kB / 0.9255 GB, free: 15.86 MB / 0.7169 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.956, allocations: 14.69 kB / 0.9255 GB, free: 15.84 MB / 0.7169 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008216/0.9568, allocations: 334.5 kB / 0.9258 GB, free: 15.5 MB / 0.7169 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.9572, allocations: 0.6924 MB / 0.9265 GB, free: 14.78 MB / 0.7169 GB
Notification: Performance of simCode: alias equations: time 9.141e-05/0.9573, allocations: 28.53 kB / 0.9265 GB, free: 14.75 MB / 0.7169 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.9573, allocations: 19.38 kB / 0.9266 GB, free: 14.73 MB / 0.7169 GB
Notification: Performance of SimCode: time 8.41e-07/0.9573, allocations: 0 / 0.9266 GB, free: 14.73 MB / 0.7169 GB
Notification: Performance of Templates: time 0.04574/1.003, allocations: 24.31 MB / 0.9503 GB, free: 6.387 MB / 0.7325 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 10.688650663942099]
Failed to read output from testmodel.py, exit status != 0:
1.013506917282939 1.028310077 0.140426663
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f80980c97b0>