Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001647/0.001647, 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.001904/0.001904, allocations: 189.2 kB / 22.23 MB, free: 5.102 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.514/1.514, 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/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.9058/0.9058, allocations: 134 MB / 440.3 MB, free: 188 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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck")
translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 64.8 kB / 0.6107 GB, free: 13.7 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.226, allocations: 84.73 MB / 0.6935 GB, free: 9.031 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002574/0.2286, allocations: 1.277 MB / 0.6947 GB, free: 7.742 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.6793/0.9078, allocations: 147.5 MB / 0.8387 GB, free: 11.94 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.9079, allocations: 1.781 kB / 0.8387 GB, free: 11.94 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.9079, allocations: 7.984 kB / 0.8387 GB, free: 11.93 MB / 0.6075 GB
Notification: Performance of NFTyping.typeBindings: time 6.463e-05/0.908, allocations: 3.938 kB / 0.8387 GB, free: 11.93 MB / 0.6075 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.9084, allocations: 89.97 kB / 0.8388 GB, free: 11.86 MB / 0.6075 GB
Notification: Performance of NFFlatten.flatten: time 9.315e-05/0.9085, allocations: 37.78 kB / 0.8388 GB, free: 11.84 MB / 0.6075 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.321e-05/0.9086, allocations: 3.984 kB / 0.8389 GB, free: 11.84 MB / 0.6075 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.9086, allocations: 12 kB / 0.8389 GB, free: 11.84 MB / 0.6075 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.565e-05/0.9087, allocations: 18.77 kB / 0.8389 GB, free: 11.82 MB / 0.6075 GB
Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.9087, allocations: 2.781 kB / 0.8389 GB, free: 11.82 MB / 0.6075 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.909, allocations: 80.42 kB / 0.839 GB, free: 11.78 MB / 0.6075 GB
Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.909, allocations: 7.328 kB / 0.839 GB, free: 11.77 MB / 0.6075 GB
Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.909, allocations: 19.42 kB / 0.839 GB, free: 11.76 MB / 0.6075 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.9092, allocations: 69.08 kB / 0.8391 GB, free: 11.73 MB / 0.6075 GB
Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.9092, allocations: 2.312 kB / 0.8391 GB, free: 11.73 MB / 0.6075 GB
Notification: Performance of FrontEnd: time 1.523e-06/0.9092, allocations: 0 / 0.8391 GB, free: 11.73 MB / 0.6075 GB
Notification: Performance of Transformations before backend: time 5.821e-06/0.9092, allocations: 0 / 0.8391 GB, free: 11.73 MB / 0.6075 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.0004405/0.9096, allocations: 275.5 kB / 0.8393 GB, free: 11.45 MB / 0.6075 GB
Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.9097, allocations: 14.34 kB / 0.8393 GB, free: 11.45 MB / 0.6075 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.9099, allocations: 16.58 kB / 0.8393 GB, free: 11.44 MB / 0.6075 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.91, allocations: 111.2 kB / 0.8395 GB, free: 11.31 MB / 0.6075 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.91, allocations: 15.73 kB / 0.8395 GB, free: 11.3 MB / 0.6075 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.91, allocations: 4.812 kB / 0.8395 GB, free: 11.3 MB / 0.6075 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.9102, allocations: 51.7 kB / 0.8395 GB, free: 11.25 MB / 0.6075 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.9102, allocations: 2.469 kB / 0.8395 GB, free: 11.25 MB / 0.6075 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.9102, allocations: 0 / 0.8395 GB, free: 11.25 MB / 0.6075 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.9102, allocations: 0 / 0.8395 GB, free: 11.25 MB / 0.6075 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.057e-05/0.9102, allocations: 18.08 kB / 0.8395 GB, free: 11.24 MB / 0.6075 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.9104, allocations: 140.7 kB / 0.8397 GB, free: 11.07 MB / 0.6075 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.9105, allocations: 52.09 kB / 0.8397 GB, free: 11.03 MB / 0.6075 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.9106, allocations: 20.44 kB / 0.8397 GB, free: 11.01 MB / 0.6075 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.9106, allocations: 0 / 0.8397 GB, free: 11.01 MB / 0.6075 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.9106, allocations: 32.75 kB / 0.8398 GB, free: 10.97 MB / 0.6075 GB
Notification: Performance of pre-optimization done (n=7): time 7.41e-07/0.9106, allocations: 0 / 0.8398 GB, free: 10.97 MB / 0.6075 GB
Notification: Performance of matching and sorting (n=11): time 0.0007339/0.9113, allocations: 284.9 kB / 0.84 GB, free: 10.75 MB / 0.6075 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.9114, allocations: 54.16 kB / 0.8401 GB, free: 10.69 MB / 0.6075 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.9115, allocations: 97.84 kB / 0.8402 GB, free: 10.58 MB / 0.6075 GB
Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.9115, allocations: 31.77 kB / 0.8402 GB, free: 10.55 MB / 0.6075 GB
Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.9115, allocations: 80.38 kB / 0.8403 GB, free: 10.46 MB / 0.6075 GB
Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.9116, allocations: 56.78 kB / 0.8404 GB, free: 10.41 MB / 0.6075 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.9116, allocations: 29.62 kB / 0.8404 GB, free: 10.39 MB / 0.6075 GB
Notification: Performance of setup shared object (initialization): time 0.0001468/0.9118, allocations: 320.6 kB / 0.8407 GB, free: 10.07 MB / 0.6075 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.37e-05/0.9118, allocations: 18.75 kB / 0.8407 GB, free: 10.06 MB / 0.6075 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.836e-05/0.9119, allocations: 36.33 kB / 0.8407 GB, free: 10.04 MB / 0.6075 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.775e-05/0.912, allocations: 59.64 kB / 0.8408 GB, free: 9.996 MB / 0.6075 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.912, allocations: 0 / 0.8408 GB, free: 9.996 MB / 0.6075 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001358/0.9121, allocations: 101.2 kB / 0.8409 GB, free: 9.934 MB / 0.6075 GB
Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.9121, allocations: 11.5 kB / 0.8409 GB, free: 9.93 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.9121, allocations: 0 / 0.8409 GB, free: 9.93 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.9121, allocations: 2.594 kB / 0.8409 GB, free: 9.93 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.9123, allocations: 21.92 kB / 0.8409 GB, free: 9.926 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.9123, allocations: 0 / 0.8409 GB, free: 9.926 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.9123, allocations: 10.19 kB / 0.8409 GB, free: 9.918 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.9123, allocations: 3.031 kB / 0.8409 GB, free: 9.918 MB / 0.6075 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 9.552e-05/0.9124, allocations: 120.4 kB / 0.8411 GB, free: 9.793 MB / 0.6075 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.9124, allocations: 2.125 kB / 0.8411 GB, free: 9.793 MB / 0.6075 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.9124, allocations: 18.84 kB / 0.8411 GB, free: 9.777 MB / 0.6075 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9124, allocations: 0 / 0.8411 GB, free: 9.777 MB / 0.6075 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9125, allocations: 0 / 0.8411 GB, free: 9.777 MB / 0.6075 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.9125, allocations: 3.984 kB / 0.8411 GB, free: 9.773 MB / 0.6075 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.9126, allocations: 141.2 kB / 0.8412 GB, free: 9.605 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9126, allocations: 0 / 0.8412 GB, free: 9.605 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.9127, allocations: 21.73 kB / 0.8412 GB, free: 9.602 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9127, allocations: 0 / 0.8412 GB, free: 9.602 MB / 0.6075 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.9127, allocations: 2.562 kB / 0.8412 GB, free: 9.602 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.9127, allocations: 5.875 kB / 0.8412 GB, free: 9.598 MB / 0.6075 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9127, allocations: 0 / 0.8412 GB, free: 9.598 MB / 0.6075 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.9129, allocations: 147.3 kB / 0.8414 GB, free: 9.484 MB / 0.6075 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.913, allocations: 6.578 kB / 0.8414 GB, free: 9.48 MB / 0.6075 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.913, allocations: 4 kB / 0.8414 GB, free: 9.477 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.9131, allocations: 9.062 kB / 0.8414 GB, free: 9.473 MB / 0.6075 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.9131, allocations: 0 / 0.8414 GB, free: 9.473 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.9131, allocations: 10.77 kB / 0.8414 GB, free: 9.465 MB / 0.6075 GB
Notification: Performance of sorting global known variables: time 3.919e-05/0.9132, allocations: 81.56 kB / 0.8415 GB, free: 9.387 MB / 0.6075 GB
Notification: Performance of sort global known variables: time 8e-08/0.9132, allocations: 0 / 0.8415 GB, free: 9.387 MB / 0.6075 GB
Notification: Performance of remove unused functions: time 0.0001914/0.9134, allocations: 16.56 kB / 0.8415 GB, free: 9.383 MB / 0.6075 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (hLiqSym,hSteSym,hAirSym)
 * 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.0001132/0.9135, allocations: 102 kB / 0.8416 GB, free: 9.285 MB / 0.6075 GB
Notification: Performance of simCode: created initialization part: time 0.0001401/0.9136, allocations: 57 kB / 0.8417 GB, free: 9.262 MB / 0.6075 GB
Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9136, allocations: 0 / 0.8417 GB, free: 9.262 MB / 0.6075 GB
Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.9136, allocations: 30.17 kB / 0.8417 GB, free: 9.25 MB / 0.6075 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.9139, allocations: 6.781 kB / 0.8417 GB, free: 9.246 MB / 0.6075 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.9145, allocations: 329.7 kB / 0.842 GB, free: 8.965 MB / 0.6075 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.9148, allocations: 0.6887 MB / 0.8427 GB, free: 8.262 MB / 0.6075 GB
Notification: Performance of simCode: alias equations: time 5.025e-05/0.9148, allocations: 7.672 kB / 0.8427 GB, free: 8.258 MB / 0.6075 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.9149, allocations: 12.44 kB / 0.8427 GB, free: 8.25 MB / 0.6075 GB
Notification: Performance of SimCode: time 3.9e-07/0.9149, allocations: 0 / 0.8427 GB, free: 8.25 MB / 0.6075 GB
Notification: Performance of Templates: time 0.003495/0.9184, allocations: 0.6969 MB / 0.8434 GB, free: 7.895 MB / 0.6075 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.671453341841698]
Failed to read output from testmodel.py, exit status != 0:
0.9270789744332433 0.94203966 0.029827053000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f58f81dd7b0>