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.007997/0.007997, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001855/0.001855, allocations: 199.4 kB / 16.68 MB, free: 5.969 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.62/1.62, allocations: 205.1 MB / 222.5 MB, free: 4.316 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4497/0.4497, allocations: 54.94 MB / 324.8 MB, free: 172 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.001539/0.001539, allocations: 69.72 kB / 456.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1442, allocations: 59.59 MB / 0.5038 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002724/0.147, allocations: 1.256 MB / 0.505 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.1502, allocations: 2.506 MB / 0.5074 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.1503, allocations: 0 / 0.5074 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.1504, allocations: 1.125 kB / 0.5074 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-05/0.1504, allocations: 3.938 kB / 0.5074 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007701/0.1512, allocations: 146 kB / 0.5076 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.1513, allocations: 40.5 kB / 0.5076 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.1514, allocations: 6.453 kB / 0.5076 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.265e-05/0.1515, allocations: 13.12 kB / 0.5076 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.1516, allocations: 22.44 kB / 0.5077 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1516, allocations: 2.469 kB / 0.5077 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.152, allocations: 114 kB / 0.5078 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.1521, allocations: 13.64 kB / 0.5078 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.1521, allocations: 18.58 kB / 0.5078 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.1524, allocations: 78.53 kB / 0.5079 GB, free: 6.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1524, allocations: 0 / 0.5079 GB, free: 6.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1525, allocations: 0 / 0.5079 GB, free: 6.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1525, allocations: 0 / 0.5079 GB, free: 6.422 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.000618/0.1531, allocations: 350.5 kB / 0.5082 GB, free: 6.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.1532, allocations: 8.875 kB / 0.5082 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.1535, allocations: 14.19 kB / 0.5082 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1536, allocations: 169.6 kB / 0.5084 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.1537, allocations: 5.688 kB / 0.5084 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.1537, allocations: 8.109 kB / 0.5084 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.154, allocations: 77.33 kB / 0.5085 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.154, allocations: 0 / 0.5085 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.154, allocations: 1.5 kB / 0.5085 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.154, allocations: 1.625 kB / 0.5085 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.1541, allocations: 21.17 kB / 0.5085 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008771/0.155, allocations: 466.2 kB / 0.5089 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1552, allocations: 78.34 kB / 0.509 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.1553, allocations: 18.86 kB / 0.509 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.1553, allocations: 1.375 kB / 0.509 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.1553, allocations: 41.19 kB / 0.5091 GB, free: 5.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/0.1553, allocations: 0 / 0.5091 GB, free: 5.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009146/0.1563, allocations: 302.2 kB / 0.5094 GB, free: 4.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.1563, allocations: 104.4 kB / 0.5095 GB, free: 4.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.1564, allocations: 106.3 kB / 0.5096 GB, free: 4.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1564, allocations: 27.48 kB / 0.5096 GB, free: 4.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.1565, allocations: 93.11 kB / 0.5097 GB, free: 4.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1565, allocations: 27.61 kB / 0.5097 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.1566, allocations: 24.41 kB / 0.5097 GB, free: 4.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.1567, allocations: 324.1 kB / 0.51 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.1567, allocations: 12.72 kB / 0.5101 GB, free: 4.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.69e-05/0.1568, allocations: 48.3 kB / 0.5101 GB, free: 4.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.132e-05/0.1569, allocations: 75.34 kB / 0.5102 GB, free: 3.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1569, allocations: 0 / 0.5102 GB, free: 3.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001701/0.157, allocations: 94.61 kB / 0.5103 GB, free: 3.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1571, allocations: 8 kB / 0.5103 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.1571, allocations: 3.984 kB / 0.5103 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.1571, allocations: 8.125 kB / 0.5103 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.1572, allocations: 16 kB / 0.5103 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1572, allocations: 0 / 0.5103 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.1573, allocations: 4 kB / 0.5103 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1573, allocations: 8 kB / 0.5103 GB, free: 3.816 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 0.0001009/0.1574, allocations: 129.6 kB / 0.5104 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.912e-05/0.1575, allocations: 7.906 kB / 0.5104 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.1575, allocations: 7.562 kB / 0.5104 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.1575, allocations: 3.938 kB / 0.5105 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.1576, allocations: 8 kB / 0.5105 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1576, allocations: 0 / 0.5105 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.1579, allocations: 177.6 kB / 0.5106 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1579, allocations: 4 kB / 0.5106 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.591e-05/0.158, allocations: 19.98 kB / 0.5107 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1581, allocations: 0 / 0.5107 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1581, allocations: 4 kB / 0.5107 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1581, allocations: 7.938 kB / 0.5107 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1581, allocations: 0 / 0.5107 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.1584, allocations: 330 kB / 0.511 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.1585, allocations: 81.02 kB / 0.5111 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1585, allocations: 8 kB / 0.5111 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.1587, allocations: 4.031 kB / 0.5111 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.1587, allocations: 4 kB / 0.5111 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1587, allocations: 7.938 kB / 0.5111 GB, free: 2.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.1588, allocations: 83.28 kB / 0.5112 GB, free: 2.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1588, allocations: 0 / 0.5112 GB, free: 2.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003253/0.1591, allocations: 12 kB / 0.5112 GB, free: 2.84 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.0001799/0.1593, allocations: 111.7 kB / 0.5113 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1595, allocations: 48.02 kB / 0.5113 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1595, allocations: 256 / 0.5113 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.1595, allocations: 19.94 kB / 0.5113 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.1601, allocations: 12.08 kB / 0.5114 GB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.1608, allocations: 340 kB / 0.5117 GB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.1609, allocations: 0.6807 MB / 0.5123 GB, free: 1.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.161, allocations: 8 kB / 0.5123 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.161, allocations: 11.44 kB / 0.5124 GB, free: 1.551 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.161, allocations: 0 / 0.5124 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Templates: time 0.004153/0.1652, allocations: 0.6516 MB / 0.513 GB, free: 0.9375 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)