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.005936/0.005936, allocations: 96.89 kB / 15.73 MB, free: 6.004 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.001235/0.001235, allocations: 196.2 kB / 16.68 MB, free: 5.934 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.89 kB / 0.5856 GB, free: 3.387 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5732/0.5746, allocations: 80.91 MB / 0.6646 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002237/0.5769, allocations: 1.265 MB / 0.6659 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.5797, allocations: 2.499 MB / 0.6683 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.5798, allocations: 0 / 0.6683 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.5798, allocations: 3.938 kB / 0.6683 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.825e-05/0.5799, allocations: 1.375 kB / 0.6683 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.5804, allocations: 135.8 kB / 0.6684 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.677e-05/0.5805, allocations: 48.39 kB / 0.6685 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.626e-05/0.5806, allocations: 2.562 kB / 0.6685 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.716e-05/0.5806, allocations: 17.48 kB / 0.6685 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.5807, allocations: 18.39 kB / 0.6685 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.5807, allocations: 2.375 kB / 0.6685 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.5811, allocations: 116.8 kB / 0.6686 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.5811, allocations: 6.703 kB / 0.6686 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.5811, allocations: 18.27 kB / 0.6686 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.5814, allocations: 83.19 kB / 0.6687 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5814, allocations: 0 / 0.6687 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5814, allocations: 5.312 kB / 0.6687 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5814, allocations: 0 / 0.6687 GB, free: 4.332 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.0004085/0.5818, allocations: 357 kB / 0.6691 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5819, allocations: 9.031 kB / 0.6691 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.5821, allocations: 14 kB / 0.6691 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.516e-05/0.5822, allocations: 165.9 kB / 0.6693 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.5822, allocations: 5.797 kB / 0.6693 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.5822, allocations: 7.969 kB / 0.6693 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.5824, allocations: 81.73 kB / 0.6693 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5824, allocations: 0 / 0.6693 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.5824, allocations: 5.344 kB / 0.6693 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5824, allocations: 1.344 kB / 0.6693 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.5825, allocations: 10.38 kB / 0.6694 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.583, allocations: 469.6 kB / 0.6698 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.5832, allocations: 75.22 kB / 0.6699 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.5832, allocations: 22.89 kB / 0.6699 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.5832, allocations: 4 kB / 0.6699 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.5832, allocations: 41.61 kB / 0.6699 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.5832, allocations: 0 / 0.6699 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006056/0.5839, allocations: 306.3 kB / 0.6702 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.5839, allocations: 109.6 kB / 0.6703 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.346e-05/0.584, allocations: 101.4 kB / 0.6704 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.584, allocations: 26.89 kB / 0.6705 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.584, allocations: 85.25 kB / 0.6705 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.584, allocations: 30.42 kB / 0.6706 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.5841, allocations: 30.53 kB / 0.6706 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.947e-05/0.5842, allocations: 320.1 kB / 0.6709 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.92e-05/0.5842, allocations: 11.91 kB / 0.6709 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.004e-05/0.5842, allocations: 56.48 kB / 0.671 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.5843, allocations: 80.06 kB / 0.671 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5843, allocations: 0 / 0.671 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001299/0.5845, allocations: 94.88 kB / 0.6711 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5845, allocations: 4.906 kB / 0.6711 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5845, allocations: 1.531 kB / 0.6711 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5845, allocations: 2.875 kB / 0.6711 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.5846, allocations: 15.81 kB / 0.6712 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5846, allocations: 3.031 kB / 0.6712 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.5847, allocations: 9.391 kB / 0.6712 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.5847, allocations: 7.719 kB / 0.6712 GB, free: 1.75 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 6.398e-05/0.5847, allocations: 121.6 kB / 0.6713 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.5848, allocations: 6.609 kB / 0.6713 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.5848, allocations: 8.875 kB / 0.6713 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5848, allocations: 1.469 kB / 0.6713 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5849, allocations: 5.406 kB / 0.6713 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.5849, allocations: 1.438 kB / 0.6713 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.5852, allocations: 181.5 kB / 0.6715 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5852, allocations: 1.125 kB / 0.6715 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/0.5853, allocations: 22.23 kB / 0.6715 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.5853, allocations: 0.9688 kB / 0.6715 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.5853, allocations: 1.375 kB / 0.6715 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5853, allocations: 1.312 kB / 0.6715 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5853, allocations: 5.406 kB / 0.6715 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.5855, allocations: 332.7 kB / 0.6718 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.5856, allocations: 80.23 kB / 0.6719 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.5856, allocations: 5.344 kB / 0.6719 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.5857, allocations: 1.656 kB / 0.6719 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.5858, allocations: 4.094 kB / 0.6719 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.5858, allocations: 14.5 kB / 0.6719 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.33e-05/0.5858, allocations: 81.39 kB / 0.672 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5858, allocations: 0 / 0.672 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003097/0.5861, allocations: 14.44 kB / 0.672 GB, free: 0.8789 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.0001329/0.5863, allocations: 109.7 kB / 0.6721 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.5864, allocations: 43.67 kB / 0.6722 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5864, allocations: 0 / 0.6722 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.017e-05/0.5865, allocations: 24.67 kB / 0.6722 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.5869, allocations: 9.688 kB / 0.6722 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.5875, allocations: 338 kB / 0.6725 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.5877, allocations: 0.683 MB / 0.6732 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.818e-05/0.5878, allocations: 11.33 kB / 0.6732 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.5878, allocations: 10.97 kB / 0.6732 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.5878, allocations: 0 / 0.6732 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.002941/0.5908, allocations: 0.6488 MB / 0.6739 GB, free: 15.41 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)