Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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.001387/0.001387, 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.001563/0.001563, 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.548/1.548, 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.143/1.143, allocations: 177.9 MB / 484.2 MB, free: 5.395 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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck")
translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 73.03 kB / 0.674 GB, free: 10.83 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7455/0.7476, allocations: 95.16 MB / 0.7669 GB, free: 8.5 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002531/0.7501, allocations: 1.275 MB / 0.7681 GB, free: 7.617 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.003783/0.7539, allocations: 3.305 MB / 0.7714 GB, free: 5.227 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.7539, allocations: 1.031 kB / 0.7714 GB, free: 5.227 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.7539, allocations: 3.938 kB / 0.7714 GB, free: 5.223 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 6.116e-05/0.754, allocations: 8.266 kB / 0.7714 GB, free: 5.219 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.7546, allocations: 110.2 kB / 0.7715 GB, free: 5.16 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001036/0.7547, allocations: 33.47 kB / 0.7715 GB, free: 5.148 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.7547, allocations: 2.859 kB / 0.7715 GB, free: 5.148 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.7548, allocations: 25.58 kB / 0.7715 GB, free: 5.137 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.7549, allocations: 16.27 kB / 0.7716 GB, free: 5.129 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.7549, allocations: 5.719 kB / 0.7716 GB, free: 5.125 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.7552, allocations: 81.53 kB / 0.7716 GB, free: 5.094 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.7552, allocations: 11.67 kB / 0.7716 GB, free: 5.086 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.7552, allocations: 16.83 kB / 0.7717 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.7555, allocations: 75.06 kB / 0.7717 GB, free: 5.055 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7555, allocations: 0 / 0.7717 GB, free: 5.055 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.042e-06/0.7555, allocations: 0 / 0.7717 GB, free: 5.055 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 9.928e-06/0.7555, allocations: 1.281 kB / 0.7717 GB, free: 5.055 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0004477/0.756, allocations: 272.9 kB / 0.772 GB, free: 4.781 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.756, allocations: 9.344 kB / 0.772 GB, free: 4.781 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.7561, allocations: 5.797 kB / 0.772 GB, free: 4.781 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.499e-05/0.7562, allocations: 110.4 kB / 0.7721 GB, free: 4.652 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.7562, allocations: 11.28 kB / 0.7721 GB, free: 4.645 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.7563, allocations: 2.625 kB / 0.7721 GB, free: 4.645 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.7564, allocations: 59.34 kB / 0.7722 GB, free: 4.602 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7564, allocations: 0 / 0.7722 GB, free: 4.602 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.7564, allocations: 4.922 kB / 0.7722 GB, free: 4.598 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.7565, allocations: 0.75 kB / 0.7722 GB, free: 4.598 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.7565, allocations: 20.39 kB / 0.7722 GB, free: 4.594 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.7567, allocations: 139.4 kB / 0.7723 GB, free: 4.43 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.7568, allocations: 53.27 kB / 0.7724 GB, free: 4.391 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.7569, allocations: 17 kB / 0.7724 GB, free: 4.379 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007652/0.7576, allocations: 242.6 kB / 0.7726 GB, free: 4.184 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.7577, allocations: 34.45 kB / 0.7727 GB, free: 4.145 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.7577, allocations: 0 / 0.7727 GB, free: 4.145 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=7): time 0.0007405/0.7584, allocations: 226.9 kB / 0.7729 GB, free: 3.953 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.7585, allocations: 56.34 kB / 0.7729 GB, free: 3.887 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.7585, allocations: 99.72 kB / 0.773 GB, free: 3.785 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.7586, allocations: 29.56 kB / 0.7731 GB, free: 3.754 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.7586, allocations: 89.38 kB / 0.7732 GB, free: 3.664 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.7586, allocations: 30.2 kB / 0.7732 GB, free: 3.641 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.7587, allocations: 26.06 kB / 0.7732 GB, free: 3.617 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 7.407e-05/0.7587, allocations: 325 kB / 0.7735 GB, free: 3.293 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.7588, allocations: 9.031 kB / 0.7735 GB, free: 3.293 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.01e-05/0.7588, allocations: 54.42 kB / 0.7736 GB, free: 3.238 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.881e-05/0.7589, allocations: 73.91 kB / 0.7736 GB, free: 3.172 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.7589, allocations: 0 / 0.7736 GB, free: 3.172 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001648/0.7591, allocations: 92.67 kB / 0.7737 GB, free: 3.117 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.7591, allocations: 6.188 kB / 0.7737 GB, free: 3.117 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7591, allocations: 1.188 kB / 0.7737 GB, free: 3.117 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.7592, allocations: 2.406 kB / 0.7737 GB, free: 3.117 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.7592, allocations: 27.45 kB / 0.7738 GB, free: 3.109 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.7593, allocations: 2.422 kB / 0.7738 GB, free: 3.109 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.7593, allocations: 6.219 kB / 0.7738 GB, free: 3.105 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.7593, allocations: 4.156 kB / 0.7738 GB, free: 3.105 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (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 8.76e-05/0.7594, allocations: 126.3 kB / 0.7739 GB, free: 2.977 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.7594, allocations: 10.64 kB / 0.7739 GB, free: 2.969 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.7595, allocations: 8.906 kB / 0.7739 GB, free: 2.961 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7595, allocations: 1.312 kB / 0.7739 GB, free: 2.961 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.7595, allocations: 1.406 kB / 0.7739 GB, free: 2.961 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7595, allocations: 9.25 kB / 0.7739 GB, free: 2.953 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.7597, allocations: 148.1 kB / 0.7741 GB, free: 2.789 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.7597, allocations: 0 / 0.7741 GB, free: 2.789 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.7598, allocations: 17.42 kB / 0.7741 GB, free: 2.789 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7598, allocations: 0 / 0.7741 GB, free: 2.789 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.7598, allocations: 0.8125 kB / 0.7741 GB, free: 2.789 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7598, allocations: 1.312 kB / 0.7741 GB, free: 2.789 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7598, allocations: 0 / 0.7741 GB, free: 2.789 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.76, allocations: 185.7 kB / 0.7743 GB, free: 2.629 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.76, allocations: 10.53 kB / 0.7743 GB, free: 2.621 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.76, allocations: 1.688 kB / 0.7743 GB, free: 2.621 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.7601, allocations: 3.031 kB / 0.7743 GB, free: 2.621 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.7602, allocations: 3.953 kB / 0.7743 GB, free: 2.621 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.7602, allocations: 7.219 kB / 0.7743 GB, free: 2.617 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 2.533e-05/0.7602, allocations: 81.73 kB / 0.7744 GB, free: 2.539 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.7602, allocations: 0 / 0.7744 GB, free: 2.539 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002381/0.7604, allocations: 10.75 kB / 0.7744 GB, free: 2.539 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (hLiqSym,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 (7):
 * Single equations (assignments): 7
 * 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.0001391/0.7606, allocations: 107.2 kB / 0.7745 GB, free: 2.441 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.000147/0.7607, allocations: 34.48 kB / 0.7745 GB, free: 2.434 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7607, allocations: 1.312 kB / 0.7745 GB, free: 2.434 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 2.993e-05/0.7608, allocations: 18.77 kB / 0.7745 GB, free: 2.426 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.7611, allocations: 9.188 kB / 0.7745 GB, free: 2.422 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.7617, allocations: 316.9 kB / 0.7749 GB, free: 2.164 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.7618, allocations: 0.6861 MB / 0.7755 GB, free: 1.465 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.919e-05/0.7619, allocations: 10.22 kB / 0.7755 GB, free: 1.461 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.7619, allocations: 16.03 kB / 0.7755 GB, free: 1.449 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.01e-07/0.7619, allocations: 0 / 0.7755 GB, free: 1.449 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003847/0.7657, allocations: 0.6664 MB / 0.7762 GB, free: 1.359 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.72516240272671]
Failed to read output from testmodel.py, exit status != 0:
0.7748000230640173 0.790274023 0.030924020000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f96a06d97b0>