Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 115.6 kB / 16.37 MB, free: 5.539 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.001154/0.001154, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7784/0.7784, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3344, allocations: 80.19 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004396/0.3388, allocations: 4.056 MB / 0.5855 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3409, allocations: 2.431 MB / 0.5878 GB, free: 22.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.341, allocations: 2.188 kB / 0.5878 GB, free: 22.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.3412, allocations: 48.7 kB / 0.5879 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.3415, allocations: 97.86 kB / 0.588 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.3425, allocations: 0.5164 MB / 0.5885 GB, free: 21.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.3428, allocations: 259.1 kB / 0.5887 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.3428, allocations: 10.88 kB / 0.5887 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.343, allocations: 116.4 kB / 0.5888 GB, free: 21.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.3432, allocations: 98.91 kB / 0.5889 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.3432, allocations: 8.094 kB / 0.5889 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007711/0.344, allocations: 455.9 kB / 0.5894 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.344, allocations: 47.11 kB / 0.5894 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.336e-05/0.3441, allocations: 86.58 kB / 0.5895 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.3447, allocations: 405.7 kB / 0.5899 GB, free: 21.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3447, allocations: 0 / 0.5899 GB, free: 21.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3447, allocations: 0 / 0.5899 GB, free: 21.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3447, allocations: 0 / 0.5899 GB, free: 21.16 MB / 446.1 MB 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.0006084/0.3454, allocations: 0.5167 MB / 0.5904 GB, free: 20.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3454, allocations: 9.562 kB / 0.5904 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.3473, allocations: 177.9 kB / 0.5906 GB, free: 20.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.3476, allocations: 214.7 kB / 0.5908 GB, free: 20.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.3477, allocations: 11.05 kB / 0.5908 GB, free: 20.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.3477, allocations: 14.66 kB / 0.5908 GB, free: 20.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.3482, allocations: 311.3 kB / 0.5911 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3483, allocations: 2.406 kB / 0.5911 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.3483, allocations: 11.62 kB / 0.5911 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.3483, allocations: 5.562 kB / 0.5911 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.349, allocations: 262.4 kB / 0.5914 GB, free: 19.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.3502, allocations: 1.384 MB / 0.5927 GB, free: 18.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/0.3508, allocations: 188.9 kB / 0.5929 GB, free: 18.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.351, allocations: 78.53 kB / 0.593 GB, free: 18.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.351, allocations: 7.984 kB / 0.593 GB, free: 18.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.3511, allocations: 41.56 kB / 0.593 GB, free: 18.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.3511, allocations: 0 / 0.593 GB, free: 18.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006672/0.3517, allocations: 244 kB / 0.5933 GB, free: 17.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.3518, allocations: 56.03 kB / 0.5933 GB, free: 17.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.3519, allocations: 161.4 kB / 0.5935 GB, free: 17.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3519, allocations: 29.7 kB / 0.5935 GB, free: 17.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.352, allocations: 125 kB / 0.5936 GB, free: 17.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.352, allocations: 67.03 kB / 0.5937 GB, free: 17.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.3521, allocations: 47.03 kB / 0.5937 GB, free: 17.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.3521, allocations: 330.8 kB / 0.594 GB, free: 17.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.3523, allocations: 66.83 kB / 0.5941 GB, free: 16.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.3525, allocations: 142.5 kB / 0.5942 GB, free: 16.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.3529, allocations: 215.1 kB / 0.5944 GB, free: 16.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3529, allocations: 0.875 kB / 0.5944 GB, free: 16.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004871/0.3534, allocations: 254.7 kB / 0.5947 GB, free: 16.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3534, allocations: 8 kB / 0.5947 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3534, allocations: 0 / 0.5947 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3535, allocations: 4.719 kB / 0.5947 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.3538, allocations: 66.45 kB / 0.5948 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3538, allocations: 4 kB / 0.5948 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.3541, allocations: 35.67 kB / 0.5948 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.3541, allocations: 8 kB / 0.5948 GB, free: 16.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.563e-05/0.3542, allocations: 139.2 kB / 0.5949 GB, free: 16.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.3542, allocations: 15.81 kB / 0.595 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005296/0.3548, allocations: 225.1 kB / 0.5952 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.3548, allocations: 9.328 kB / 0.5952 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3548, allocations: 3.938 kB / 0.5952 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3548, allocations: 3.984 kB / 0.5952 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.355, allocations: 249.3 kB / 0.5954 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.355, allocations: 4.625 kB / 0.5954 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.3553, allocations: 44.84 kB / 0.5955 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3553, allocations: 1 kB / 0.5955 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.3553, allocations: 4 kB / 0.5955 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3553, allocations: 4 kB / 0.5955 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3554, allocations: 4.438 kB / 0.5955 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.3558, allocations: 305.3 kB / 0.5958 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.3559, allocations: 106.6 kB / 0.5959 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.3559, allocations: 0 / 0.5959 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.3562, allocations: 19.98 kB / 0.5959 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.3562, allocations: 9.047 kB / 0.5959 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3563, allocations: 15.98 kB / 0.5959 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.344e-05/0.3563, allocations: 121 kB / 0.596 GB, free: 14.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3563, allocations: 0 / 0.596 GB, free: 14.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.3567, allocations: 68.03 kB / 0.5961 GB, free: 14.8 MB / 446.1 MB 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 (20): * Single equations (assignments): 20 * 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.0001602/0.3569, allocations: 130.5 kB / 0.5962 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004466/0.3573, allocations: 183.9 kB / 0.5964 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3573, allocations: 0 / 0.5964 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.3575, allocations: 87.88 kB / 0.5965 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.358, allocations: 64.77 kB / 0.5965 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.3588, allocations: 413.4 kB / 0.5969 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.3589, allocations: 0.7133 MB / 0.5976 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002228/0.3591, allocations: 54.05 kB / 0.5977 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.3592, allocations: 27.42 kB / 0.5977 GB, free: 13.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3592, allocations: 0 / 0.5977 GB, free: 13.11 MB / 446.1 MB Notification: Performance of Templates: time 0.006078/0.3653, allocations: 3.402 MB / 0.601 GB, free: 9.793 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)