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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001138, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7063/0.7063, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 404.7 MB, free: 6.074 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 95.69 kB / 485.9 MB, free: 7.199 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 55.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1721, allocations: 80.42 MB / 0.6421 GB, free: 5.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.003115/0.1753, allocations: 1.335 MB / 0.6434 GB, free: 4.117 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.1794, allocations: 2.924 MB / 0.6463 GB, free: 1.18 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.1795, allocations: 3.938 kB / 0.6463 GB, free: 1.176 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.1795, allocations: 3.938 kB / 0.6463 GB, free: 1.172 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.563e-05/0.1796, allocations: 7.922 kB / 0.6463 GB, free: 1.164 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.1801, allocations: 87.62 kB / 0.6464 GB, free: 1.078 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.1802, allocations: 31.91 kB / 0.6464 GB, free: 1.047 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.1803, allocations: 7.984 kB / 0.6464 GB, free: 1.039 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.1808, allocations: 151.6 kB / 0.6466 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.1809, allocations: 15.92 kB / 0.6466 GB, free: 0.875 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1809, allocations: 7.984 kB / 0.6466 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.181, allocations: 59.88 kB / 0.6466 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.1811, allocations: 4 kB / 0.6466 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.1811, allocations: 19.91 kB / 0.6467 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1813, allocations: 68.03 kB / 0.6467 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1813, allocations: 0 / 0.6467 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1813, allocations: 4 kB / 0.6467 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1813, allocations: 4 kB / 0.6467 GB, free: 0.7109 MB / 442.7 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.0004629/0.1818, allocations: 337.3 kB / 0.6471 GB, free: 344 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1819, allocations: 8.031 kB / 0.6471 GB, free: 336 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.1819, allocations: 8.844 kB / 0.6471 GB, free: 328 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.182, allocations: 168.3 kB / 0.6472 GB, free: 120 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.182, allocations: 384 / 0.6472 GB, free: 120 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.1821, allocations: 4.375 kB / 0.6472 GB, free: 116 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1822, allocations: 61.78 kB / 0.6473 GB, free: 48 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1823, allocations: 4 kB / 0.6473 GB, free: 44 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1823, allocations: 7.938 kB / 0.6473 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1823, allocations: 0 / 0.6473 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.103e-05/0.1824, allocations: 27.91 kB / 0.6473 GB, free: 8 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.1826, allocations: 153.7 kB / 0.6475 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1827, allocations: 50.56 kB / 0.6475 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.1828, allocations: 20.84 kB / 0.6475 GB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008026/0.1836, allocations: 0.6026 MB / 0.6481 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1836, allocations: 30.56 kB / 0.6482 GB, free: 14.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.1836, allocations: 0 / 0.6482 GB, free: 14.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.000635/0.1843, allocations: 298.3 kB / 0.6485 GB, free: 14.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.1843, allocations: 55.41 kB / 0.6485 GB, free: 14.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.463e-05/0.1844, allocations: 101.8 kB / 0.6486 GB, free: 14.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1845, allocations: 29.7 kB / 0.6486 GB, free: 14.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.1845, allocations: 88.05 kB / 0.6487 GB, free: 14.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.1845, allocations: 31.55 kB / 0.6487 GB, free: 14.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.1846, allocations: 21.72 kB / 0.6488 GB, free: 14.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1847, allocations: 322.8 kB / 0.6491 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.001e-05/0.1848, allocations: 12 kB / 0.6491 GB, free: 13.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.1848, allocations: 61.02 kB / 0.6491 GB, free: 13.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.271e-05/0.1849, allocations: 73.02 kB / 0.6492 GB, free: 13.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1849, allocations: 8 kB / 0.6492 GB, free: 13.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001504/0.1851, allocations: 93.78 kB / 0.6493 GB, free: 13.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1851, allocations: 5.875 kB / 0.6493 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1851, allocations: 4.438 kB / 0.6493 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1852, allocations: 4.031 kB / 0.6493 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.1852, allocations: 19.94 kB / 0.6493 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1853, allocations: 7.938 kB / 0.6493 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.1853, allocations: 11.92 kB / 0.6494 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1853, allocations: 8.125 kB / 0.6494 GB, free: 13.6 MB / 458.7 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 8.503e-05/0.1854, allocations: 113.8 kB / 0.6495 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.1855, allocations: 7.906 kB / 0.6495 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.1855, allocations: 7.969 kB / 0.6495 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1855, allocations: 0 / 0.6495 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1855, allocations: 0 / 0.6495 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1855, allocations: 3.938 kB / 0.6495 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.1858, allocations: 177.6 kB / 0.6497 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1858, allocations: 4 kB / 0.6497 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.237e-05/0.1859, allocations: 19.98 kB / 0.6497 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1859, allocations: 0 / 0.6497 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1859, allocations: 0 / 0.6497 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1859, allocations: 3.938 kB / 0.6497 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1859, allocations: 0 / 0.6497 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009366/0.1869, allocations: 1.078 MB / 0.6507 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.1869, allocations: 81.14 kB / 0.6508 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.1869, allocations: 3.938 kB / 0.6508 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.844e-05/0.187, allocations: 4 kB / 0.6508 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.1871, allocations: 4 kB / 0.6508 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.1871, allocations: 4 kB / 0.6508 GB, free: 11.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.044e-05/0.1871, allocations: 83.27 kB / 0.6509 GB, free: 11.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1871, allocations: 4 kB / 0.6509 GB, free: 11.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003252/0.1875, allocations: 16 kB / 0.6509 GB, free: 11.79 MB / 458.7 MB 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.0001493/0.1876, allocations: 103.6 kB / 0.651 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1878, allocations: 43.91 kB / 0.6511 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1878, allocations: 0 / 0.6511 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.1878, allocations: 19.92 kB / 0.6511 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1881, allocations: 8.25 kB / 0.6511 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.1889, allocations: 462.4 kB / 0.6515 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1891, allocations: 0.6848 MB / 0.6522 GB, free: 10.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.784e-05/0.1892, allocations: 11.98 kB / 0.6522 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.1893, allocations: 11.44 kB / 0.6522 GB, free: 10.38 MB / 458.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1893, allocations: 0 / 0.6522 GB, free: 10.38 MB / 458.7 MB Notification: Performance of Templates: time 0.002894/0.1922, allocations: 0.634 MB / 0.6529 GB, free: 9.742 MB / 458.7 MB 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)