Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005815/0.005815, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001297/0.001297, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7853/0.7853, allocations: 132.2 MB / 422.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 66.8 kB / 0.5814 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1801, allocations: 80.2 MB / 0.6597 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01631/0.1964, allocations: 12.97 MB / 0.6724 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002897/0.1993, allocations: 2.667 MB / 0.675 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1995, allocations: 0 / 0.675 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.1998, allocations: 51.67 kB / 0.6751 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.2002, allocations: 99.36 kB / 0.6752 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.2016, allocations: 0.5088 MB / 0.6757 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.2019, allocations: 231.9 kB / 0.6759 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.202, allocations: 13.55 kB / 0.6759 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008468/0.2105, allocations: 3.579 MB / 0.6794 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.2107, allocations: 91.64 kB / 0.6795 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.2108, allocations: 12 kB / 0.6795 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003045/0.2138, allocations: 1.07 MB / 0.6805 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.2139, allocations: 39.83 kB / 0.6806 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.2141, allocations: 83.64 kB / 0.6806 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008746/0.2149, allocations: 367 kB / 0.681 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.215, allocations: 4 kB / 0.681 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.215, allocations: 0 / 0.681 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.215, allocations: 0 / 0.681 GB, free: 7.57 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008344/0.2158, allocations: 0.5051 MB / 0.6815 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2159, allocations: 8.031 kB / 0.6815 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.2161, allocations: 36.67 kB / 0.6815 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.2165, allocations: 208.2 kB / 0.6817 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2165, allocations: 12.7 kB / 0.6817 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.2165, allocations: 16.38 kB / 0.6818 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.217, allocations: 256.8 kB / 0.682 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.217, allocations: 0 / 0.682 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.217, allocations: 4 kB / 0.682 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.2171, allocations: 11.98 kB / 0.682 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/0.2176, allocations: 423.5 kB / 0.6824 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.2189, allocations: 0.9681 MB / 0.6834 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.2192, allocations: 163.7 kB / 0.6835 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.2193, allocations: 65.75 kB / 0.6836 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.2208, allocations: 1.829 MB / 0.6854 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2208, allocations: 38.56 kB / 0.6854 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.2209, allocations: 4 kB / 0.6854 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003185/0.2212, allocations: 148.7 kB / 0.6856 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.2212, allocations: 59.34 kB / 0.6856 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.2214, allocations: 165.6 kB / 0.6858 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.2214, allocations: 33.7 kB / 0.6858 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.2215, allocations: 139.8 kB / 0.6859 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.2216, allocations: 51.2 kB / 0.686 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.2216, allocations: 49.7 kB / 0.686 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2218, allocations: 330.8 kB / 0.6864 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.2218, allocations: 35.97 kB / 0.6864 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.222, allocations: 134.9 kB / 0.6865 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.2222, allocations: 205.5 kB / 0.6867 GB, free: 1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2222, allocations: 0 / 0.6867 GB, free: 1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003354/0.2226, allocations: 212.4 kB / 0.6869 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2226, allocations: 8 kB / 0.6869 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2226, allocations: 480 / 0.6869 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2226, allocations: 15.94 kB / 0.6869 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2228, allocations: 55.86 kB / 0.687 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.2228, allocations: 11.97 kB / 0.687 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2229, allocations: 31.67 kB / 0.687 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.223, allocations: 12 kB / 0.687 GB, free: 0.6562 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001079/0.2231, allocations: 133.7 kB / 0.6872 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.2231, allocations: 15.81 kB / 0.6872 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.2234, allocations: 160.9 kB / 0.6873 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.2234, allocations: 7.938 kB / 0.6873 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2235, allocations: 7.938 kB / 0.6874 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2235, allocations: 0 / 0.6874 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.2238, allocations: 217.5 kB / 0.6876 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.2238, allocations: 0 / 0.6876 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/0.2239, allocations: 20 kB / 0.6876 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.2239, allocations: 0 / 0.6876 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.2239, allocations: 11.98 kB / 0.6876 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.2239, allocations: 7.938 kB / 0.6876 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2239, allocations: 0 / 0.6876 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.2242, allocations: 219.3 kB / 0.6878 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.2243, allocations: 108.9 kB / 0.6879 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.2243, allocations: 4 kB / 0.6879 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.2245, allocations: 15.92 kB / 0.6879 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.2245, allocations: 11.98 kB / 0.6879 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.2245, allocations: 8 kB / 0.688 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.55e-05/0.2246, allocations: 121.6 kB / 0.6881 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2246, allocations: 4 kB / 0.6881 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004407/0.2251, allocations: 83.92 kB / 0.6882 GB, free: 15.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002939/0.2254, allocations: 182.5 kB / 0.6883 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.2256, allocations: 115.8 kB / 0.6884 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2256, allocations: 0 / 0.6884 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.2257, allocations: 50.59 kB / 0.6885 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.2261, allocations: 64.81 kB / 0.6885 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.2268, allocations: 333.7 kB / 0.6889 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.2271, allocations: 0.7206 MB / 0.6896 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.2272, allocations: 48.38 kB / 0.6896 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.2273, allocations: 27.42 kB / 0.6896 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.2273, allocations: 0 / 0.6896 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of Templates: time 0.007272/0.2346, allocations: 3.635 MB / 0.6932 GB, free: 10.28 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)