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.0009459/0.0009459, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001054/0.001054, allocations: 177.3 kB / 15.94 MB, free: 228 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.411/1.411, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3956/0.3956, allocations: 54.99 MB / 325.4 MB, free: 0.7695 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.0006195/0.0006195, allocations: 20 kB / 396.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3212, allocations: 60.72 MB / 457.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.0009931/0.3223, allocations: 0.9571 MB / 458.3 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3241, allocations: 1.896 MB / 460.2 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.3242, allocations: 4.594 kB / 460.2 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.3242, allocations: 0 / 460.2 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.3242, allocations: 10.16 kB / 460.2 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.3246, allocations: 111.1 kB / 460.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.2e-05/0.3247, allocations: 21.53 kB / 460.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.3247, allocations: 3.219 kB / 460.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.3248, allocations: 22.23 kB / 460.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.942e-05/0.3249, allocations: 14.95 kB / 460.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3249, allocations: 0 / 460.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.3251, allocations: 113.2 kB / 460.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.3252, allocations: 12.19 kB / 460.5 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.3252, allocations: 30.23 kB / 460.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.3253, allocations: 46.39 kB / 460.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.3253, allocations: 1.906 kB / 460.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3253, allocations: 4.469 kB / 460.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.3253, allocations: 1.562 kB / 460.5 MB, free: 38.14 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.0002768/0.3256, allocations: 338.1 kB / 460.9 MB, free: 37.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.3257, allocations: 8.719 kB / 460.9 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.3259, allocations: 20.44 kB / 460.9 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.986e-05/0.3259, allocations: 159.1 kB / 461.1 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.326, allocations: 6.719 kB / 461.1 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.326, allocations: 6.469 kB / 461.1 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.3261, allocations: 69.42 kB / 461.1 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.3261, allocations: 0 / 461.1 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3261, allocations: 5.094 kB / 461.1 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3262, allocations: 0.9688 kB / 461.1 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.3262, allocations: 14.28 kB / 461.2 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.3267, allocations: 478.7 kB / 461.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/0.3268, allocations: 71.19 kB / 461.7 MB, free: 36.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.3268, allocations: 3.562 kB / 461.7 MB, free: 36.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.3268, allocations: 34.09 kB / 461.7 MB, free: 36.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3268, allocations: 3.844 kB / 461.7 MB, free: 36.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005335/0.3274, allocations: 305.9 kB / 462 MB, free: 36.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.3274, allocations: 112.8 kB / 462.1 MB, free: 36.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.653e-05/0.3275, allocations: 102.7 kB / 462.2 MB, free: 36.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.3275, allocations: 26.7 kB / 462.3 MB, free: 36.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.3275, allocations: 86.05 kB / 462.4 MB, free: 36.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.3276, allocations: 29.14 kB / 462.4 MB, free: 36.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.3276, allocations: 0.8125 kB / 462.4 MB, free: 36.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.945e-05/0.3276, allocations: 314.3 kB / 462.7 MB, free: 36.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.3276, allocations: 17.09 kB / 462.7 MB, free: 36.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.3277, allocations: 51.81 kB / 462.8 MB, free: 35.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.3277, allocations: 24.7 kB / 462.8 MB, free: 35.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3277, allocations: 0 / 462.8 MB, free: 35.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001104/0.3278, allocations: 99.39 kB / 462.9 MB, free: 35.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3279, allocations: 10.41 kB / 462.9 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3279, allocations: 0 / 462.9 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3279, allocations: 2.719 kB / 462.9 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.328, allocations: 22.62 kB / 462.9 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.328, allocations: 2.406 kB / 462.9 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.328, allocations: 5.125 kB / 462.9 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.328, allocations: 2.906 kB / 462.9 MB, free: 35.92 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 4.953e-05/0.3281, allocations: 129.1 kB / 463.1 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.3282, allocations: 2.875 kB / 463.1 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.3282, allocations: 10.92 kB / 463.1 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3282, allocations: 7.219 kB / 463.1 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3282, allocations: 1 kB / 463.1 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3282, allocations: 0 / 463.1 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.3285, allocations: 173.1 kB / 463.2 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3285, allocations: 3.953 kB / 463.2 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.34e-05/0.3286, allocations: 17.19 kB / 463.3 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3286, allocations: 1.125 kB / 463.3 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3286, allocations: 8.625 kB / 463.3 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3286, allocations: 7.062 kB / 463.3 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3286, allocations: 0.8594 kB / 463.3 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.3288, allocations: 353.7 kB / 463.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.3288, allocations: 86.59 kB / 463.7 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3289, allocations: 2.969 kB / 463.7 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.329, allocations: 3.188 kB / 463.7 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.3291, allocations: 7.188 kB / 463.7 MB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3291, allocations: 8.844 kB / 463.7 MB, free: 35.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.706e-05/0.3291, allocations: 76.12 kB / 463.8 MB, free: 35.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3291, allocations: 0 / 463.8 MB, free: 35.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.3294, allocations: 14.34 kB / 463.8 MB, free: 35.1 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 8.619e-05/0.3295, allocations: 106.4 kB / 463.9 MB, free: 35.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.475e-05/0.3296, allocations: 48.44 kB / 464 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3296, allocations: 2.75 kB / 464 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.3297, allocations: 18.09 kB / 464 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.3299, allocations: 11.02 kB / 464 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.3304, allocations: 405.8 kB / 464.4 MB, free: 34.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3305, allocations: 0.6867 MB / 465.1 MB, free: 34.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.418e-05/0.3306, allocations: 9.047 kB / 465.1 MB, free: 34.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.3306, allocations: 10.38 kB / 465.1 MB, free: 34.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3306, allocations: 3.031 kB / 465.1 MB, free: 34.02 MB / 382.1 MB Notification: Performance of Templates: time 0.002356/0.333, allocations: 0.5857 MB / 465.7 MB, free: 33.99 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: