Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007814/0.007814, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.001677/0.001678, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8008/0.8008, allocations: 135.2 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.14 kB / 0.5856 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1686, allocations: 80.92 MB / 0.6646 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002765/0.1714, allocations: 1.264 MB / 0.6658 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004184/0.1756, allocations: 2.94 MB / 0.6687 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.1756, allocations: 0 / 0.6687 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.1757, allocations: 8 kB / 0.6687 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.1758, allocations: 7.922 kB / 0.6687 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.1763, allocations: 103.5 kB / 0.6688 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.195e-05/0.1764, allocations: 31.92 kB / 0.6689 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.1764, allocations: 3.984 kB / 0.6689 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004466/0.1769, allocations: 167.4 kB / 0.669 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.815e-05/0.1769, allocations: 11.98 kB / 0.669 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1769, allocations: 8 kB / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.1772, allocations: 67.8 kB / 0.6691 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.1772, allocations: 8 kB / 0.6691 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.1773, allocations: 11.94 kB / 0.6691 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1774, allocations: 67.84 kB / 0.6692 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.1775, allocations: 0 / 0.6692 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.033e-06/0.1775, allocations: 3.938 kB / 0.6692 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.1775, allocations: 0 / 0.6692 GB, free: 1.086 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.0004451/0.1779, allocations: 347.5 kB / 0.6695 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.178, allocations: 9.109 kB / 0.6695 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.178, allocations: 8.844 kB / 0.6695 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1781, allocations: 164.3 kB / 0.6697 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1781, allocations: 8.375 kB / 0.6697 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1782, allocations: 4.375 kB / 0.6697 GB, free: 484 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1783, allocations: 57.8 kB / 0.6698 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1783, allocations: 0 / 0.6698 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1783, allocations: 0 / 0.6698 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1783, allocations: 0 / 0.6698 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.1784, allocations: 23.98 kB / 0.6698 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.1786, allocations: 165.6 kB / 0.6699 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.607e-05/0.1787, allocations: 50.5 kB / 0.67 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.1787, allocations: 20.84 kB / 0.67 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007243/0.1794, allocations: 0.5907 MB / 0.6706 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1795, allocations: 38.5 kB / 0.6706 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.1795, allocations: 0 / 0.6706 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006911/0.1802, allocations: 302.5 kB / 0.6709 GB, free: 15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1802, allocations: 55.41 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.1804, allocations: 101.8 kB / 0.6711 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1804, allocations: 25.7 kB / 0.6711 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.1805, allocations: 88.05 kB / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.1805, allocations: 31.55 kB / 0.6712 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.1806, allocations: 25.72 kB / 0.6712 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1807, allocations: 326.7 kB / 0.6715 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.1808, allocations: 8 kB / 0.6715 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.1808, allocations: 53.14 kB / 0.6716 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1809, allocations: 81.25 kB / 0.6717 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.181, allocations: 0 / 0.6717 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001418/0.1811, allocations: 89.69 kB / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1811, allocations: 15.98 kB / 0.6718 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1811, allocations: 0 / 0.6718 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1812, allocations: 3.938 kB / 0.6718 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.1813, allocations: 20.44 kB / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1813, allocations: 0 / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.1813, allocations: 7.938 kB / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1813, allocations: 8 kB / 0.6718 GB, free: 13.99 MB / 0.5137 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 0.0001718/0.1815, allocations: 117.8 kB / 0.6719 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1815, allocations: 11.91 kB / 0.6719 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.1816, allocations: 7.969 kB / 0.6719 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1816, allocations: 4 kB / 0.6719 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1816, allocations: 0 / 0.6719 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1816, allocations: 3.938 kB / 0.6719 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.1819, allocations: 173.7 kB / 0.6721 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1819, allocations: 0 / 0.6721 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/0.182, allocations: 15.98 kB / 0.6721 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.182, allocations: 0 / 0.6721 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.182, allocations: 0 / 0.6721 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.182, allocations: 4 kB / 0.6721 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.182, allocations: 4 kB / 0.6721 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.1822, allocations: 171.4 kB / 0.6723 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.1823, allocations: 89.05 kB / 0.6724 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1823, allocations: 4 kB / 0.6724 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1824, allocations: 4 kB / 0.6724 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.1824, allocations: 11.86 kB / 0.6724 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1824, allocations: 7.938 kB / 0.6724 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.1825, allocations: 83.28 kB / 0.6725 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1825, allocations: 0 / 0.6725 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002498/0.1828, allocations: 12 kB / 0.6725 GB, free: 13.19 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001268/0.1829, allocations: 104.6 kB / 0.6726 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.183, allocations: 40.25 kB / 0.6726 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.183, allocations: 0 / 0.6726 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.677e-05/0.1831, allocations: 20.19 kB / 0.6727 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.1834, allocations: 12 kB / 0.6727 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.184, allocations: 330.2 kB / 0.673 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1843, allocations: 0.6807 MB / 0.6737 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.84e-05/0.1844, allocations: 11.98 kB / 0.6737 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.1844, allocations: 11.44 kB / 0.6737 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1844, allocations: 0 / 0.6737 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of Templates: time 0.002911/0.1873, allocations: 0.6275 MB / 0.6743 GB, free: 11.3 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)