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.001056/0.001056, 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.001079/0.001079, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.45/1.45, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4364/0.4364, allocations: 54.93 MB / 324.4 MB, free: 72 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.001501/0.001501, allocations: 63.91 kB / 394.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1556, allocations: 59.59 MB / 454.5 MB, free: 488 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.2477/0.4034, allocations: 1.318 MB / 455.8 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.4057, allocations: 2.485 MB / 458.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.4058, allocations: 3.562 kB / 458.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.4059, allocations: 0.9688 kB / 458.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.51e-05/0.4059, allocations: 3.984 kB / 458.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.4064, allocations: 118.1 kB / 458.4 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.246e-05/0.4065, allocations: 40 kB / 458.5 MB, free: 37.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.245e-05/0.4065, allocations: 2.938 kB / 458.5 MB, free: 37.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.4066, allocations: 19.42 kB / 458.5 MB, free: 37.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.4066, allocations: 24.05 kB / 458.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.4067, allocations: 0.6562 kB / 458.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.4069, allocations: 113.2 kB / 458.6 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.4069, allocations: 12.33 kB / 458.6 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.407, allocations: 14.34 kB / 458.6 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.4071, allocations: 86.28 kB / 458.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4072, allocations: 1.156 kB / 458.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4072, allocations: 0 / 458.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.4072, allocations: 2.906 kB / 458.7 MB, free: 37.88 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.0003335/0.4075, allocations: 351.1 kB / 459.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.4076, allocations: 9.562 kB / 459.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.4078, allocations: 13.48 kB / 459.1 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.728e-05/0.4078, allocations: 165.8 kB / 459.2 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.4079, allocations: 4.359 kB / 459.3 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.4079, allocations: 13.56 kB / 459.3 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.4081, allocations: 74.44 kB / 459.3 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4081, allocations: 0 / 459.3 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.4081, allocations: 2.938 kB / 459.3 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.4081, allocations: 8.281 kB / 459.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.4082, allocations: 10.84 kB / 459.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.4088, allocations: 472.6 kB / 459.8 MB, free: 36.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.4089, allocations: 78.94 kB / 459.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.409, allocations: 24.78 kB / 459.9 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.409, allocations: 0.8125 kB / 459.9 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.409, allocations: 35.56 kB / 460 MB, free: 36.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.4091, allocations: 0.9062 kB / 460 MB, free: 36.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006715/0.4097, allocations: 307.2 kB / 460.3 MB, free: 36.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.4098, allocations: 104.8 kB / 460.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.775e-05/0.4098, allocations: 104.6 kB / 460.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.4099, allocations: 28.52 kB / 460.5 MB, free: 36.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.4099, allocations: 84.55 kB / 460.6 MB, free: 36.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.4099, allocations: 29.41 kB / 460.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.41, allocations: 26.34 kB / 460.6 MB, free: 36.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.4101, allocations: 324.7 kB / 460.9 MB, free: 35.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.4101, allocations: 10.16 kB / 461 MB, free: 35.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.4102, allocations: 58.7 kB / 461 MB, free: 35.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.939e-05/0.4102, allocations: 68.34 kB / 461.1 MB, free: 35.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4103, allocations: 2.562 kB / 461.1 MB, free: 35.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001576/0.4104, allocations: 99.56 kB / 461.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4104, allocations: 3.969 kB / 461.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4105, allocations: 4.125 kB / 461.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4105, allocations: 0.6562 kB / 461.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.4106, allocations: 24.16 kB / 461.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.4106, allocations: 3.719 kB / 461.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.4107, allocations: 0 / 461.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4107, allocations: 10.03 kB / 461.2 MB, free: 35.59 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.81e-05/0.4108, allocations: 124.6 kB / 461.3 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.4108, allocations: 6.938 kB / 461.4 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.4109, allocations: 10.41 kB / 461.4 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4109, allocations: 3.047 kB / 461.4 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4109, allocations: 3.844 kB / 461.4 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4109, allocations: 2.875 kB / 461.4 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.4113, allocations: 181.9 kB / 461.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4113, allocations: 0 / 461.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.4114, allocations: 19.81 kB / 461.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4115, allocations: 0 / 461.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4115, allocations: 3.719 kB / 461.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4115, allocations: 2.766 kB / 461.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4115, allocations: 0.7031 kB / 461.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.4117, allocations: 335.2 kB / 461.9 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.4118, allocations: 79.27 kB / 462 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.4118, allocations: 3.875 kB / 462 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.412, allocations: 6.172 kB / 462 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.4121, allocations: 10.19 kB / 462 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.4121, allocations: 9.844 kB / 462 MB, free: 34.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.132e-05/0.4121, allocations: 77.48 kB / 462.1 MB, free: 34.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4121, allocations: 2.875 kB / 462.1 MB, free: 34.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000445/0.4126, allocations: 12 kB / 462.1 MB, free: 34.81 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 (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.0001282/0.4127, allocations: 107.4 kB / 462.2 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.4129, allocations: 51.41 kB / 462.3 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4129, allocations: 1.969 kB / 462.3 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.4129, allocations: 19.16 kB / 462.3 MB, free: 34.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.4135, allocations: 6.391 kB / 462.3 MB, free: 34.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006962/0.4142, allocations: 352.2 kB / 462.6 MB, free: 34.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.4143, allocations: 0.6864 MB / 463.3 MB, free: 33.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.335e-05/0.4144, allocations: 9 kB / 463.3 MB, free: 33.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.4144, allocations: 10.16 kB / 463.3 MB, free: 33.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4145, allocations: 0 / 463.3 MB, free: 33.77 MB / 382.1 MB Notification: Performance of Templates: time 0.003397/0.4179, allocations: 0.6386 MB / 464 MB, free: 33.72 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (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)