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.001425/0.001425, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.495/1.495, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.431/0.431, allocations: 54.93 MB / 324.4 MB, free: 140 kB / 254.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.001595/0.001595, allocations: 67.89 kB / 394.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1612, allocations: 59.58 MB / 454.4 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterDerivativeCheck): time 0.2834/0.4446, allocations: 1.322 MB / 455.7 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.448, allocations: 3.227 MB / 459 MB, free: 37.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.4481, allocations: 0.9375 kB / 459 MB, free: 37.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.4482, allocations: 2.438 kB / 459 MB, free: 37.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.4483, allocations: 5.766 kB / 459 MB, free: 37.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.4489, allocations: 99.02 kB / 459.1 MB, free: 37.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.598e-05/0.4489, allocations: 36.73 kB / 459.1 MB, free: 37.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.449, allocations: 0 / 459.1 MB, free: 37.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.4491, allocations: 20.59 kB / 459.1 MB, free: 37.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.492e-05/0.4491, allocations: 16.69 kB / 459.1 MB, free: 37.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.4492, allocations: 0 / 459.1 MB, free: 37.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.4494, allocations: 81.98 kB / 459.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.4494, allocations: 14.27 kB / 459.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.4495, allocations: 16.56 kB / 459.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.4497, allocations: 69.75 kB / 459.3 MB, free: 37.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4497, allocations: 0 / 459.3 MB, free: 37.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4497, allocations: 1.688 kB / 459.3 MB, free: 37.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4497, allocations: 2.625 kB / 459.3 MB, free: 37.59 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.0005206/0.4502, allocations: 347.5 kB / 459.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4503, allocations: 13.28 kB / 459.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.4504, allocations: 7.938 kB / 459.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.4505, allocations: 163.6 kB / 459.8 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.4505, allocations: 9.188 kB / 459.9 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.4506, allocations: 7.719 kB / 459.9 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.4508, allocations: 58.95 kB / 459.9 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4508, allocations: 0 / 459.9 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.4508, allocations: 3.375 kB / 459.9 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4508, allocations: 0.5625 kB / 459.9 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.4509, allocations: 18.19 kB / 459.9 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.4511, allocations: 172.6 kB / 460.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4512, allocations: 53.95 kB / 460.2 MB, free: 36.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.4512, allocations: 19.33 kB / 460.2 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006999/0.4519, allocations: 0.589 MB / 460.8 MB, free: 36.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.452, allocations: 31.84 kB / 460.8 MB, free: 36.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.452, allocations: 0 / 460.8 MB, free: 36.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005866/0.4526, allocations: 309.4 kB / 461.1 MB, free: 35.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.4526, allocations: 51.41 kB / 461.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.532e-05/0.4527, allocations: 102.8 kB / 461.3 MB, free: 35.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.4527, allocations: 28.95 kB / 461.3 MB, free: 35.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.4528, allocations: 91.42 kB / 461.4 MB, free: 35.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.4528, allocations: 22.39 kB / 461.4 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.4528, allocations: 22.03 kB / 461.4 MB, free: 35.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.4529, allocations: 325.4 kB / 461.7 MB, free: 35.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.453, allocations: 19.56 kB / 461.8 MB, free: 35.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-05/0.453, allocations: 55.2 kB / 461.8 MB, free: 35.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.4531, allocations: 75.12 kB / 461.9 MB, free: 35.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4531, allocations: 0 / 461.9 MB, free: 35.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000118/0.4532, allocations: 96.84 kB / 462 MB, free: 35.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4533, allocations: 6.719 kB / 462 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4533, allocations: 5.141 kB / 462 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4533, allocations: 3.781 kB / 462 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.4534, allocations: 23.47 kB / 462 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4534, allocations: 0 / 462 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.4534, allocations: 7.281 kB / 462 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.4534, allocations: 11.05 kB / 462 MB, free: 35.1 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 7.28e-05/0.4535, allocations: 119.1 kB / 462.1 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.4535, allocations: 5.656 kB / 462.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.4536, allocations: 7.031 kB / 462.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4536, allocations: 3.531 kB / 462.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4536, allocations: 0 / 462.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4536, allocations: 3.938 kB / 462.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.4538, allocations: 175.4 kB / 462.3 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4538, allocations: 3.906 kB / 462.3 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.4539, allocations: 11.75 kB / 462.4 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4539, allocations: 2.875 kB / 462.4 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.454, allocations: 0 / 462.4 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.454, allocations: 0 / 462.4 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.454, allocations: 0 / 462.4 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.4541, allocations: 182.2 kB / 462.5 MB, free: 34.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.4542, allocations: 84.39 kB / 462.6 MB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.4542, allocations: 0.5312 kB / 462.6 MB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4543, allocations: 12.7 kB / 462.6 MB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.4543, allocations: 2.781 kB / 462.6 MB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4543, allocations: 3.938 kB / 462.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.17e-05/0.4544, allocations: 84.73 kB / 462.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4544, allocations: 3.938 kB / 462.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.4546, allocations: 10.62 kB / 462.7 MB, free: 34.48 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.0001064/0.4547, allocations: 99.19 kB / 462.8 MB, free: 34.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.4548, allocations: 52.02 kB / 462.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4548, allocations: 0 / 462.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.152e-05/0.4549, allocations: 18.38 kB / 462.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.4551, allocations: 9.031 kB / 462.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.4557, allocations: 340.1 kB / 463.2 MB, free: 34.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.4559, allocations: 0.6877 MB / 463.9 MB, free: 33.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.334e-05/0.4559, allocations: 4.391 kB / 463.9 MB, free: 33.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.4559, allocations: 12.59 kB / 463.9 MB, free: 33.44 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4559, allocations: 4 kB / 464 MB, free: 33.44 MB / 382.1 MB Notification: Performance of Templates: time 0.00306/0.459, allocations: 0.612 MB / 464.6 MB, free: 33.4 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)