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.001169/0.001169, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01015/0.01015, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.665/1.665, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.423/0.423, allocations: 55.03 MB / 325.8 MB, free: 0.5664 MB / 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.0005469/0.0005467, allocations: 19.94 kB / 397.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4245, allocations: 60.72 MB / 458 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterDerivativeCheck): time 0.001241/0.4258, allocations: 0.9816 MB / 458.9 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.4292, allocations: 3.201 MB / 462.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.4293, allocations: 0 / 462.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.4293, allocations: 0 / 462.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.036e-05/0.4294, allocations: 9.25 kB / 462.2 MB, free: 37.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.4299, allocations: 102.5 kB / 462.3 MB, free: 37.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.059e-05/0.43, allocations: 30.02 kB / 462.3 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.43, allocations: 8.125 kB / 462.3 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.4301, allocations: 15.41 kB / 462.3 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.476e-05/0.4301, allocations: 20.36 kB / 462.3 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.4302, allocations: 6.875 kB / 462.3 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.4304, allocations: 72.81 kB / 462.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.4304, allocations: 10.77 kB / 462.4 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.4305, allocations: 39.45 kB / 462.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.4307, allocations: 69.3 kB / 462.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4307, allocations: 3.234 kB / 462.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4307, allocations: 3.562 kB / 462.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.4307, allocations: 0 / 462.5 MB, free: 37.71 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.0003523/0.4311, allocations: 333.7 kB / 462.9 MB, free: 37.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.4311, allocations: 9.562 kB / 462.9 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.4312, allocations: 5.406 kB / 462.9 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.389e-05/0.4313, allocations: 167.9 kB / 463 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.4313, allocations: 10.12 kB / 463 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.4314, allocations: 8.719 kB / 463 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.4315, allocations: 59.39 kB / 463.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4315, allocations: 2.906 kB / 463.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.4316, allocations: 4.469 kB / 463.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4316, allocations: 0 / 463.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.818e-05/0.4316, allocations: 22.73 kB / 463.1 MB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.4318, allocations: 168.3 kB / 463.3 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.266e-05/0.4319, allocations: 57.11 kB / 463.4 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.4319, allocations: 18.39 kB / 463.4 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.4326, allocations: 0.5871 MB / 464 MB, free: 36.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4326, allocations: 33.75 kB / 464 MB, free: 36.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.4326, allocations: 4.562 kB / 464 MB, free: 36.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005762/0.4332, allocations: 303.2 kB / 464.3 MB, free: 35.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.4332, allocations: 52.72 kB / 464.3 MB, free: 35.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.576e-05/0.4333, allocations: 98.8 kB / 464.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.4333, allocations: 27.36 kB / 464.5 MB, free: 35.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.4334, allocations: 94.2 kB / 464.6 MB, free: 35.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.4334, allocations: 25.09 kB / 464.6 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.4334, allocations: 18.97 kB / 464.6 MB, free: 35.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.4335, allocations: 317.4 kB / 464.9 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/0.4335, allocations: 15.77 kB / 464.9 MB, free: 35.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.583e-05/0.4336, allocations: 50.89 kB / 465 MB, free: 35.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.817e-05/0.4337, allocations: 71.77 kB / 465 MB, free: 35.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4337, allocations: 3 kB / 465.1 MB, free: 35.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001327/0.4338, allocations: 96.67 kB / 465.1 MB, free: 35.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4339, allocations: 6.125 kB / 465.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.4339, allocations: 4.312 kB / 465.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.4339, allocations: 1.562 kB / 465.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.434, allocations: 24.84 kB / 465.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.434, allocations: 8.531 kB / 465.2 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.999e-05/0.434, allocations: 8.812 kB / 465.2 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.434, allocations: 3.625 kB / 465.2 MB, free: 35.19 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.039e-05/0.4341, allocations: 120.6 kB / 465.3 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.4341, allocations: 2.5 kB / 465.3 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.4342, allocations: 12.38 kB / 465.3 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4342, allocations: 2.719 kB / 465.3 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4342, allocations: 3.938 kB / 465.3 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4342, allocations: 3.938 kB / 465.3 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.4344, allocations: 173.7 kB / 465.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4344, allocations: 0.9375 kB / 465.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.4345, allocations: 15.11 kB / 465.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.4345, allocations: 0 / 465.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.4345, allocations: 4.75 kB / 465.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4345, allocations: 4 kB / 465.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4345, allocations: 1.078 kB / 465.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.4347, allocations: 176.7 kB / 465.7 MB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.4347, allocations: 81.69 kB / 465.8 MB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.4348, allocations: 2.062 kB / 465.8 MB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.4349, allocations: 9.203 kB / 465.8 MB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.4349, allocations: 4.922 kB / 465.8 MB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.4349, allocations: 10.66 kB / 465.8 MB, free: 34.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.061e-05/0.435, allocations: 80.52 kB / 465.9 MB, free: 34.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.435, allocations: 0 / 465.9 MB, free: 34.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.4352, allocations: 14.72 kB / 465.9 MB, free: 34.55 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.0001423/0.4354, allocations: 97.16 kB / 466 MB, free: 34.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.4355, allocations: 41.19 kB / 466 MB, free: 34.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4355, allocations: 6.781 kB / 466.1 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.4356, allocations: 20.75 kB / 466.1 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.0003045/0.4359, allocations: 7.797 kB / 466.1 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.4365, allocations: 397.9 kB / 466.5 MB, free: 34.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.4367, allocations: 0.6815 MB / 467.2 MB, free: 33.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.4368, allocations: 14.8 kB / 467.2 MB, free: 33.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.4368, allocations: 10.31 kB / 467.2 MB, free: 33.48 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4368, allocations: 0 / 467.2 MB, free: 33.48 MB / 382.1 MB Notification: Performance of Templates: time 0.002865/0.4397, allocations: 0.5889 MB / 467.8 MB, free: 33.43 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: