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.00793/0.00793, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.00201/0.002011, allocations: 189 kB / 16.67 MB, free: 6.391 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.513/1.513, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4419/0.4419, allocations: 54.94 MB / 324.8 MB, free: 15.91 MB / 270.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.001445/0.001445, allocations: 76.33 kB / 456.2 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1273, allocations: 59.59 MB / 0.5037 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002585/0.1299, allocations: 1.256 MB / 0.5049 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.133, allocations: 2.506 MB / 0.5074 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.133, allocations: 0 / 0.5074 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.1331, allocations: 3.938 kB / 0.5074 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.263e-05/0.1331, allocations: 5.359 kB / 0.5074 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.1338, allocations: 131 kB / 0.5075 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.1339, allocations: 37.73 kB / 0.5075 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.1339, allocations: 6.734 kB / 0.5076 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.134, allocations: 17.56 kB / 0.5076 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.134, allocations: 17.47 kB / 0.5076 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.134, allocations: 2.75 kB / 0.5076 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.1343, allocations: 121.4 kB / 0.5077 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.1343, allocations: 6.188 kB / 0.5077 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.1344, allocations: 15.39 kB / 0.5077 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1346, allocations: 81.14 kB / 0.5078 GB, free: 6.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1346, allocations: 0 / 0.5078 GB, free: 6.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1346, allocations: 4 kB / 0.5078 GB, free: 6.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.1346, allocations: 1.219 kB / 0.5078 GB, free: 6.535 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.0003559/0.135, allocations: 353 kB / 0.5081 GB, free: 6.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.135, allocations: 13.42 kB / 0.5082 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.1353, allocations: 13.78 kB / 0.5082 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.606e-05/0.1353, allocations: 165.5 kB / 0.5083 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1354, allocations: 6.969 kB / 0.5083 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1354, allocations: 7.422 kB / 0.5083 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1355, allocations: 76.83 kB / 0.5084 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1355, allocations: 0 / 0.5084 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1356, allocations: 1.25 kB / 0.5084 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1356, allocations: 1.469 kB / 0.5084 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.1356, allocations: 22.53 kB / 0.5084 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.1361, allocations: 465.9 kB / 0.5089 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1363, allocations: 70 kB / 0.5089 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.1363, allocations: 19.39 kB / 0.509 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1363, allocations: 5.875 kB / 0.509 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.1364, allocations: 40.03 kB / 0.509 GB, free: 5.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1364, allocations: 0 / 0.509 GB, free: 5.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000566/0.1369, allocations: 302.4 kB / 0.5093 GB, free: 4.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.137, allocations: 113.5 kB / 0.5094 GB, free: 4.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.1371, allocations: 97.47 kB / 0.5095 GB, free: 4.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1371, allocations: 31.23 kB / 0.5095 GB, free: 4.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.1371, allocations: 89.48 kB / 0.5096 GB, free: 4.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1371, allocations: 26.3 kB / 0.5096 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.1372, allocations: 25.22 kB / 0.5097 GB, free: 4.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.1372, allocations: 316 kB / 0.51 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.1373, allocations: 19.92 kB / 0.51 GB, free: 4.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.1373, allocations: 53.02 kB / 0.51 GB, free: 4.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.879e-05/0.1374, allocations: 83.38 kB / 0.5101 GB, free: 4.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1374, allocations: 0 / 0.5101 GB, free: 4.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001254/0.1376, allocations: 92.3 kB / 0.5102 GB, free: 3.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1376, allocations: 4 kB / 0.5102 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1376, allocations: 4 kB / 0.5102 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1376, allocations: 4.594 kB / 0.5102 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.1377, allocations: 16 kB / 0.5102 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1377, allocations: 4 kB / 0.5102 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.1377, allocations: 8 kB / 0.5102 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1378, allocations: 8.125 kB / 0.5102 GB, free: 3.926 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.09e-05/0.1378, allocations: 125.6 kB / 0.5104 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.1379, allocations: 7.906 kB / 0.5104 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.1379, allocations: 7.562 kB / 0.5104 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1379, allocations: 4 kB / 0.5104 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1379, allocations: 3.984 kB / 0.5104 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1379, allocations: 0 / 0.5104 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.1382, allocations: 181.6 kB / 0.5106 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1383, allocations: 0 / 0.5106 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.1383, allocations: 23.98 kB / 0.5106 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1383, allocations: 0 / 0.5106 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1384, allocations: 4 kB / 0.5106 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1384, allocations: 0 / 0.5106 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1384, allocations: 3.938 kB / 0.5106 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.1386, allocations: 322 kB / 0.5109 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.1386, allocations: 89.02 kB / 0.511 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1386, allocations: 4 kB / 0.511 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1388, allocations: 8.031 kB / 0.511 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.1388, allocations: 4 kB / 0.511 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1388, allocations: 3.938 kB / 0.511 GB, free: 3.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.878e-05/0.1389, allocations: 83.28 kB / 0.5111 GB, free: 2.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1389, allocations: 7.875 kB / 0.5111 GB, free: 2.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1392, allocations: 12 kB / 0.5111 GB, free: 2.953 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.0001054/0.1393, allocations: 111.2 kB / 0.5112 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.1394, allocations: 51.91 kB / 0.5113 GB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1394, allocations: 0 / 0.5113 GB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.1394, allocations: 15.94 kB / 0.5113 GB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.1399, allocations: 15.92 kB / 0.5113 GB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.1404, allocations: 340.7 kB / 0.5116 GB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.1405, allocations: 0.6807 MB / 0.5123 GB, free: 1.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.019e-05/0.1406, allocations: 11.98 kB / 0.5123 GB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.1406, allocations: 11.44 kB / 0.5123 GB, free: 1.656 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1406, allocations: 0 / 0.5123 GB, free: 1.656 MB / 382.1 MB Notification: Performance of Templates: time 0.00246/0.1431, allocations: 0.6481 MB / 0.5129 GB, free: 1.043 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)