Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008862/0.0008861, allocations: 99.31 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.0008745/0.0008745, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8674/0.8674, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.000275, allocations: 8 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 82.32 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001326/0.1457, allocations: 0.9589 MB / 0.5881 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.1479, allocations: 1.891 MB / 0.59 GB, free: 292 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.148, allocations: 0 / 0.59 GB, free: 292 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.148, allocations: 0 / 0.59 GB, free: 292 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.082e-05/0.148, allocations: 3.984 kB / 0.59 GB, free: 288 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.1485, allocations: 107.7 kB / 0.5901 GB, free: 180 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.334e-05/0.1486, allocations: 31.89 kB / 0.5901 GB, free: 148 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.1486, allocations: 4 kB / 0.5901 GB, free: 144 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.1486, allocations: 19.98 kB / 0.5901 GB, free: 124 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.1487, allocations: 19.91 kB / 0.5902 GB, free: 104 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1487, allocations: 7.938 kB / 0.5902 GB, free: 96 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.149, allocations: 107.9 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.1491, allocations: 3.984 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.1491, allocations: 33.7 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1492, allocations: 47.97 kB / 0.5904 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.1493, allocations: 0 / 0.5904 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1493, allocations: 0 / 0.5904 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.1493, allocations: 4 kB / 0.5904 GB, free: 15.89 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.0003456/0.1496, allocations: 339.3 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1497, allocations: 8.031 kB / 0.5907 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.1499, allocations: 19.98 kB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.498e-05/0.15, allocations: 167 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.15, allocations: 0 / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.15, allocations: 4 kB / 0.5909 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1502, allocations: 72.25 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1502, allocations: 0 / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1502, allocations: 4 kB / 0.5909 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1502, allocations: 3.938 kB / 0.5909 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.89e-05/0.1503, allocations: 23.91 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.1508, allocations: 474.8 kB / 0.5914 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.1509, allocations: 67.75 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1509, allocations: 8.062 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.151, allocations: 34.56 kB / 0.5915 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.151, allocations: 0 / 0.5915 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005208/0.1515, allocations: 298.2 kB / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.1516, allocations: 106.8 kB / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/0.1516, allocations: 105.7 kB / 0.592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1516, allocations: 33.95 kB / 0.5921 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.1517, allocations: 84.14 kB / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.1517, allocations: 31.55 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.1517, allocations: 0 / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.1518, allocations: 310.8 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.1519, allocations: 15.98 kB / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.1519, allocations: 63.92 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.152, allocations: 16 kB / 0.5925 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.152, allocations: 0 / 0.5925 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001205/0.1521, allocations: 93.61 kB / 0.5926 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1521, allocations: 4 kB / 0.5926 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1521, allocations: 11.98 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1521, allocations: 4.125 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.1522, allocations: 27.94 kB / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1522, allocations: 3.938 kB / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.1523, allocations: 11.84 kB / 0.5927 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1523, allocations: 8 kB / 0.5927 GB, free: 13.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/0.1524, allocations: 109.8 kB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.1524, allocations: 4 kB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.1525, allocations: 11.56 kB / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1525, allocations: 11.92 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1525, allocations: 4.562 kB / 0.5928 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1525, allocations: 0 / 0.5928 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.1528, allocations: 173.7 kB / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1528, allocations: 0 / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.1529, allocations: 15.94 kB / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1529, allocations: 4 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1529, allocations: 0 / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1529, allocations: 0 / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.1529, allocations: 3.984 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1532, allocations: 357.4 kB / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.1532, allocations: 89.14 kB / 0.5935 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.1532, allocations: 3.953 kB / 0.5935 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.1534, allocations: 4 kB / 0.5935 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.1534, allocations: 15.92 kB / 0.5935 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.1534, allocations: 4 kB / 0.5935 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.919e-05/0.1535, allocations: 79.28 kB / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1535, allocations: 0 / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003062/0.1538, allocations: 16 kB / 0.5936 GB, free: 12.16 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 (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.0001425/0.1539, allocations: 99.25 kB / 0.5937 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.1541, allocations: 43.92 kB / 0.5937 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.1541, allocations: 7.984 kB / 0.5937 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.1541, allocations: 15.94 kB / 0.5937 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.1543, allocations: 4 kB / 0.5937 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.1549, allocations: 400.9 kB / 0.5941 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1552, allocations: 0.6926 MB / 0.5948 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.229e-05/0.1552, allocations: 3.984 kB / 0.5948 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.1553, allocations: 15.44 kB / 0.5948 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1553, allocations: 0 / 0.5948 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.002341/0.1576, allocations: 0.5856 MB / 0.5954 GB, free: 10.26 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: