Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") translateModel(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4621/0.4621, allocations: 54.95 MB / 324.7 MB, free: 15.89 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 71.89 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1682, allocations: 59.59 MB / 454.9 MB, free: 164 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterDerivativeCheck): time 0.274/0.4423, allocations: 1.243 MB / 456.2 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003423/0.4457, allocations: 3.257 MB / 459.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.4458, allocations: 0.8438 kB / 459.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.4459, allocations: 3.656 kB / 459.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.564e-05/0.4459, allocations: 10.39 kB / 459.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.4464, allocations: 101.8 kB / 459.5 MB, free: 37.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.356e-05/0.4465, allocations: 42.55 kB / 459.6 MB, free: 37.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.4465, allocations: 2.906 kB / 459.6 MB, free: 37.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.4466, allocations: 17.34 kB / 459.6 MB, free: 37.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.4467, allocations: 19.53 kB / 459.6 MB, free: 37.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.4467, allocations: 2.938 kB / 459.6 MB, free: 37.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.4469, allocations: 80.52 kB / 459.7 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.4469, allocations: 11.73 kB / 459.7 MB, free: 37.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.447, allocations: 16.23 kB / 459.7 MB, free: 37.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.4472, allocations: 65 kB / 459.8 MB, free: 37.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4472, allocations: 4.656 kB / 459.8 MB, free: 37.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4472, allocations: 0 / 459.8 MB, free: 37.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4472, allocations: 1.25 kB / 459.8 MB, free: 37.65 MB / 382.1 MB 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.0003952/0.4476, allocations: 349.2 kB / 460.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4477, allocations: 8.562 kB / 460.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.4478, allocations: 9.156 kB / 460.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.4479, allocations: 161.1 kB / 460.3 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.4479, allocations: 4.578 kB / 460.3 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.448, allocations: 10.73 kB / 460.3 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.4481, allocations: 59.81 kB / 460.4 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4481, allocations: 0 / 460.4 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.4482, allocations: 0.6875 kB / 460.4 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4482, allocations: 5.875 kB / 460.4 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/0.4482, allocations: 15.88 kB / 460.4 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.4484, allocations: 167.9 kB / 460.6 MB, free: 36.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.984e-05/0.4485, allocations: 60.52 kB / 460.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.4485, allocations: 19.52 kB / 460.6 MB, free: 36.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/0.4491, allocations: 0.592 MB / 461.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.4492, allocations: 33.31 kB / 461.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4492, allocations: 0 / 461.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005348/0.4497, allocations: 299.1 kB / 461.6 MB, free: 35.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.4498, allocations: 54.14 kB / 461.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.4499, allocations: 107.8 kB / 461.7 MB, free: 35.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.4499, allocations: 25.7 kB / 461.7 MB, free: 35.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.4499, allocations: 96 kB / 461.8 MB, free: 35.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.4499, allocations: 22.16 kB / 461.9 MB, free: 35.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.45, allocations: 24.31 kB / 461.9 MB, free: 35.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.4501, allocations: 322.7 kB / 462.2 MB, free: 35.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.441e-05/0.4501, allocations: 19.33 kB / 462.2 MB, free: 35.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.619e-05/0.4502, allocations: 50.78 kB / 462.3 MB, free: 35.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.932e-05/0.4503, allocations: 74.53 kB / 462.3 MB, free: 35.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4503, allocations: 0.5 kB / 462.3 MB, free: 35.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001356/0.4504, allocations: 101.7 kB / 462.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4505, allocations: 8.188 kB / 462.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4505, allocations: 0 / 462.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.4505, allocations: 3.969 kB / 462.4 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.4506, allocations: 25.8 kB / 462.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4506, allocations: 0 / 462.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.4506, allocations: 10.28 kB / 462.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4507, allocations: 2.875 kB / 462.5 MB, free: 35.16 MB / 382.1 MB 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 6.695e-05/0.4507, allocations: 119.4 kB / 462.6 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.4508, allocations: 4.469 kB / 462.6 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.4508, allocations: 10.69 kB / 462.6 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4508, allocations: 1 kB / 462.6 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4508, allocations: 0 / 462.6 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4508, allocations: 3.938 kB / 462.6 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.451, allocations: 176 kB / 462.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4511, allocations: 0 / 462.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.24e-05/0.4511, allocations: 21.39 kB / 462.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4512, allocations: 0.8438 kB / 462.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.4512, allocations: 0 / 462.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4512, allocations: 0 / 462.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4512, allocations: 2.906 kB / 462.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.4514, allocations: 180.9 kB / 463 MB, free: 34.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.4514, allocations: 84.33 kB / 463.1 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.4514, allocations: 0 / 463.1 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.4516, allocations: 3.781 kB / 463.1 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.4516, allocations: 8.688 kB / 463.1 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.4516, allocations: 10.28 kB / 463.1 MB, free: 34.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.246e-05/0.4516, allocations: 83.06 kB / 463.2 MB, free: 34.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4516, allocations: 0 / 463.2 MB, free: 34.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.4519, allocations: 13 kB / 463.2 MB, free: 34.53 MB / 382.1 MB 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.0001205/0.452, allocations: 104.7 kB / 463.3 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.4521, allocations: 38.5 kB / 463.3 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4522, allocations: 2.812 kB / 463.3 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.4522, allocations: 26.34 kB / 463.4 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.4525, allocations: 7.438 kB / 463.4 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.4532, allocations: 330.8 kB / 463.7 MB, free: 34.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.4533, allocations: 0.6822 MB / 464.4 MB, free: 33.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.541e-05/0.4534, allocations: 10.69 kB / 464.4 MB, free: 33.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.4534, allocations: 10.34 kB / 464.4 MB, free: 33.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.943e-06/0.4534, allocations: 0 / 464.4 MB, free: 33.51 MB / 382.1 MB Notification: Performance of Templates: time 0.002893/0.4563, allocations: 0.6089 MB / 465 MB, free: 33.47 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe 2>&1)