Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.009055/0.009055, allocations: 100.5 kB / 15.73 MB, free: 6 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.001827/0.001827, allocations: 191.4 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9758/0.9758, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 63.91 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5479, allocations: 80.91 MB / 0.6646 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.004296/0.5523, allocations: 1.272 MB / 0.6659 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004189/0.5565, allocations: 2.491 MB / 0.6683 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.5566, allocations: 4 kB / 0.6683 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.5567, allocations: 3.938 kB / 0.6683 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.821e-05/0.5568, allocations: 8.969 kB / 0.6683 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008874/0.5577, allocations: 137.2 kB / 0.6684 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.5579, allocations: 33.77 kB / 0.6685 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.558, allocations: 2.469 kB / 0.6685 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.5581, allocations: 26.31 kB / 0.6685 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.5582, allocations: 17.14 kB / 0.6685 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.5582, allocations: 2.344 kB / 0.6685 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.5586, allocations: 122 kB / 0.6686 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.5587, allocations: 1.375 kB / 0.6686 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.5587, allocations: 18.7 kB / 0.6687 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.559, allocations: 86 kB / 0.6687 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.559, allocations: 0 / 0.6687 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.216e-06/0.559, allocations: 0 / 0.6687 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.5591, allocations: 1.562 kB / 0.6687 GB, free: 4.262 MB / 0.4981 GB 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.000583/0.5596, allocations: 350.9 kB / 0.6691 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/0.5597, allocations: 9.875 kB / 0.6691 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.56, allocations: 17.98 kB / 0.6691 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.5601, allocations: 160.4 kB / 0.6693 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.5602, allocations: 7 kB / 0.6693 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.5602, allocations: 11.06 kB / 0.6693 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.5604, allocations: 77.14 kB / 0.6693 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.5605, allocations: 5.062 kB / 0.6693 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.5605, allocations: 1.031 kB / 0.6694 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.5605, allocations: 1.125 kB / 0.6694 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.345e-05/0.5606, allocations: 17.67 kB / 0.6694 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.5613, allocations: 470.3 kB / 0.6698 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.5614, allocations: 74.19 kB / 0.6699 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.5615, allocations: 19.11 kB / 0.6699 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.5615, allocations: 1.5 kB / 0.6699 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.5615, allocations: 49.34 kB / 0.67 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.5615, allocations: 0 / 0.67 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0008223/0.5624, allocations: 298 kB / 0.6702 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.5624, allocations: 109 kB / 0.6703 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.5625, allocations: 98.12 kB / 0.6704 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.5625, allocations: 34.61 kB / 0.6705 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.5626, allocations: 85.17 kB / 0.6706 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.5626, allocations: 23.47 kB / 0.6706 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.5627, allocations: 29.08 kB / 0.6706 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.5627, allocations: 316.4 kB / 0.6709 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.5628, allocations: 15.98 kB / 0.6709 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.828e-05/0.5629, allocations: 56.17 kB / 0.671 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.563, allocations: 71.34 kB / 0.671 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.563, allocations: 3.938 kB / 0.671 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001483/0.5631, allocations: 99.06 kB / 0.6711 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5632, allocations: 5.562 kB / 0.6711 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5632, allocations: 6.672 kB / 0.6711 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5632, allocations: 1.75 kB / 0.6712 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.5633, allocations: 20.7 kB / 0.6712 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5633, allocations: 5.219 kB / 0.6712 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.5633, allocations: 6.5 kB / 0.6712 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.5634, allocations: 4.469 kB / 0.6712 GB, free: 1.688 MB / 0.4981 GB 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 9.501e-05/0.5635, allocations: 124.9 kB / 0.6713 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.5635, allocations: 6.281 kB / 0.6713 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.5636, allocations: 13.17 kB / 0.6713 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5636, allocations: 2.469 kB / 0.6713 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5636, allocations: 0 / 0.6713 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5636, allocations: 1.094 kB / 0.6713 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.564, allocations: 175 kB / 0.6715 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.564, allocations: 3.938 kB / 0.6715 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.702e-05/0.5641, allocations: 22.72 kB / 0.6715 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5641, allocations: 4 kB / 0.6715 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.5641, allocations: 5.703 kB / 0.6715 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5641, allocations: 5.219 kB / 0.6715 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5642, allocations: 0.9375 kB / 0.6715 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.5644, allocations: 321.1 kB / 0.6718 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.5645, allocations: 87.89 kB / 0.6719 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5645, allocations: 6.031 kB / 0.6719 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.5647, allocations: 6.875 kB / 0.6719 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.5647, allocations: 10.92 kB / 0.6719 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.5647, allocations: 6.719 kB / 0.672 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.567e-05/0.5647, allocations: 81.38 kB / 0.672 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5647, allocations: 0 / 0.672 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003115/0.5651, allocations: 11.06 kB / 0.672 GB, free: 0.8125 MB / 0.4981 GB 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.0001539/0.5652, allocations: 112.8 kB / 0.6721 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.5654, allocations: 43.89 kB / 0.6722 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5654, allocations: 0 / 0.6722 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.569e-05/0.5654, allocations: 15.88 kB / 0.6722 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.5659, allocations: 9 kB / 0.6722 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.5666, allocations: 328.5 kB / 0.6725 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.5668, allocations: 0.69 MB / 0.6732 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.697e-05/0.5669, allocations: 2.156 kB / 0.6732 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.5669, allocations: 19.5 kB / 0.6732 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.5669, allocations: 3.938 kB / 0.6732 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.003581/0.5705, allocations: 0.6435 MB / 0.6739 GB, free: 15.35 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)