Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009586, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.000997/0.0009973, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4182/0.4182, allocations: 55.02 MB / 325.4 MB, free: 0.6445 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.000548/0.000548, allocations: 15.98 kB / 396.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.516, allocations: 60.72 MB / 457.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001349/0.5174, allocations: 0.9772 MB / 458.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.5204, allocations: 2.342 MB / 460.7 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.5204, allocations: 0 / 460.7 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.5205, allocations: 3.938 kB / 460.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.5205, allocations: 9.453 kB / 460.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.521, allocations: 100.7 kB / 460.8 MB, free: 38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.5211, allocations: 34.98 kB / 460.8 MB, free: 38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.5211, allocations: 5.609 kB / 460.8 MB, free: 38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.5212, allocations: 17.19 kB / 460.9 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.5213, allocations: 15.31 kB / 460.9 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.5213, allocations: 3 kB / 460.9 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.5216, allocations: 95.5 kB / 461 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.5216, allocations: 7.516 kB / 461 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.5216, allocations: 29.67 kB / 461 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.5218, allocations: 51.62 kB / 461.1 MB, free: 37.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.5218, allocations: 0.625 kB / 461.1 MB, free: 37.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5218, allocations: 2.938 kB / 461.1 MB, free: 37.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.5218, allocations: 0 / 461.1 MB, free: 37.94 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.0003837/0.5222, allocations: 338.9 kB / 461.4 MB, free: 37.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5223, allocations: 9.625 kB / 461.4 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.5225, allocations: 16.66 kB / 461.4 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.699e-05/0.5226, allocations: 162.6 kB / 461.6 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5226, allocations: 2.25 kB / 461.6 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.5226, allocations: 8.75 kB / 461.6 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.5228, allocations: 73.31 kB / 461.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.5228, allocations: 0 / 461.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.5228, allocations: 4.656 kB / 461.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5229, allocations: 3.906 kB / 461.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.948e-05/0.5229, allocations: 14.62 kB / 461.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.5235, allocations: 477.8 kB / 462.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.5236, allocations: 72.16 kB / 462.2 MB, free: 36.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.5236, allocations: 24.92 kB / 462.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.5236, allocations: 0 / 462.2 MB, free: 36.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5237, allocations: 41.05 kB / 462.3 MB, free: 36.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.5237, allocations: 0 / 462.3 MB, free: 36.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006563/0.5243, allocations: 306.8 kB / 462.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.5244, allocations: 103.6 kB / 462.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.5245, allocations: 99.53 kB / 462.8 MB, free: 36.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.5245, allocations: 30.33 kB / 462.8 MB, free: 36.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.5246, allocations: 85.05 kB / 462.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.5246, allocations: 26.83 kB / 462.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.5246, allocations: 1.75 kB / 462.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.5247, allocations: 323.5 kB / 463.2 MB, free: 35.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.5247, allocations: 16.19 kB / 463.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.5247, allocations: 56.89 kB / 463.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/0.5248, allocations: 23.12 kB / 463.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5248, allocations: 0 / 463.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001365/0.5249, allocations: 98.31 kB / 463.4 MB, free: 35.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.525, allocations: 4.125 kB / 463.4 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.525, allocations: 5.625 kB / 463.4 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.525, allocations: 3.062 kB / 463.4 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.5251, allocations: 18.8 kB / 463.5 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5251, allocations: 6.719 kB / 463.5 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.859e-05/0.5251, allocations: 4.719 kB / 463.5 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.5252, allocations: 3.531 kB / 463.5 MB, free: 35.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.337e-05/0.5253, allocations: 121.9 kB / 463.6 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.5253, allocations: 7.25 kB / 463.6 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.5254, allocations: 14.09 kB / 463.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5254, allocations: 2.625 kB / 463.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5254, allocations: 0.5 kB / 463.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5254, allocations: 0 / 463.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.5257, allocations: 178.8 kB / 463.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5257, allocations: 5.078 kB / 463.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.711e-05/0.5258, allocations: 16 kB / 463.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.5258, allocations: 5.016 kB / 463.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.5258, allocations: 4.188 kB / 463.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5258, allocations: 384 / 463.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5258, allocations: 4 kB / 463.8 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.5261, allocations: 328.3 kB / 464.1 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.5261, allocations: 84.47 kB / 464.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.5262, allocations: 3.875 kB / 464.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.5263, allocations: 3.594 kB / 464.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.5264, allocations: 12.16 kB / 464.2 MB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.5264, allocations: 6.953 kB / 464.3 MB, free: 34.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.619e-05/0.5264, allocations: 85.47 kB / 464.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5264, allocations: 0 / 464.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003027/0.5267, allocations: 12.09 kB / 464.4 MB, free: 34.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001763/0.5269, allocations: 102.8 kB / 464.5 MB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.5271, allocations: 48.81 kB / 464.5 MB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5271, allocations: 0.75 kB / 464.5 MB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.5271, allocations: 18.41 kB / 464.5 MB, free: 34.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.5275, allocations: 11.84 kB / 464.5 MB, free: 34.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/0.5281, allocations: 405.7 kB / 464.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.5283, allocations: 0.6878 MB / 465.6 MB, free: 33.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.679e-05/0.5284, allocations: 7.375 kB / 465.6 MB, free: 33.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.5284, allocations: 15.19 kB / 465.6 MB, free: 33.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5284, allocations: 0 / 465.6 MB, free: 33.81 MB / 382.1 MB Notification: Performance of Templates: time 0.003129/0.5316, allocations: 0.5913 MB / 466.2 MB, free: 33.78 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: