Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00128/0.00128, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001703/0.001703, allocations: 195.5 kB / 16.26 MB, free: 6.621 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.502/1.502, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9695/0.9695, allocations: 135.1 MB / 425.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.3 kB / 0.5049 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2301, allocations: 80.94 MB / 0.5839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00593/0.2361, allocations: 4.091 MB / 0.5879 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.2391, allocations: 2.426 MB / 0.5903 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.709e-05/0.2392, allocations: 0 / 0.5903 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.2395, allocations: 39.75 kB / 0.5903 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.2398, allocations: 87.47 kB / 0.5904 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.2412, allocations: 492.9 kB / 0.5908 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.2415, allocations: 259.9 kB / 0.5911 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.2416, allocations: 9.562 kB / 0.5911 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.2418, allocations: 115.5 kB / 0.5912 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.242, allocations: 99.59 kB / 0.5913 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.242, allocations: 12 kB / 0.5913 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/0.2428, allocations: 463.1 kB / 0.5918 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.2428, allocations: 35.89 kB / 0.5918 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.46e-05/0.2429, allocations: 95.58 kB / 0.5919 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005898/0.2435, allocations: 407.3 kB / 0.5923 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2436, allocations: 0 / 0.5923 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2436, allocations: 0 / 0.5923 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2436, allocations: 0 / 0.5923 GB, free: 12.23 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007957/0.2444, allocations: 0.507 MB / 0.5928 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.2444, allocations: 12.03 kB / 0.5928 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.2465, allocations: 184.5 kB / 0.593 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.2468, allocations: 216 kB / 0.5932 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.2469, allocations: 8.703 kB / 0.5932 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.2469, allocations: 16.38 kB / 0.5932 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006721/0.2476, allocations: 300.4 kB / 0.5935 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2476, allocations: 8 kB / 0.5935 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.2477, allocations: 8 kB / 0.5935 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.2477, allocations: 15.97 kB / 0.5935 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007181/0.2484, allocations: 255.6 kB / 0.5937 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.2503, allocations: 1.396 MB / 0.5951 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.2509, allocations: 194.5 kB / 0.5953 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.2512, allocations: 80.75 kB / 0.5954 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.2512, allocations: 3.984 kB / 0.5954 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.2513, allocations: 38.56 kB / 0.5954 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/0.2513, allocations: 0 / 0.5954 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007974/0.2521, allocations: 245.3 kB / 0.5957 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2521, allocations: 51.41 kB / 0.5957 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.2523, allocations: 157.7 kB / 0.5958 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.2523, allocations: 33.7 kB / 0.5959 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.2524, allocations: 132 kB / 0.596 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.2525, allocations: 63.05 kB / 0.5961 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.2526, allocations: 49.92 kB / 0.5961 GB, free: 8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2527, allocations: 322.8 kB / 0.5964 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.2529, allocations: 68.36 kB / 0.5965 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.2532, allocations: 144 kB / 0.5966 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.2538, allocations: 219.3 kB / 0.5968 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2538, allocations: 0 / 0.5968 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005907/0.2544, allocations: 253.3 kB / 0.5971 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.2544, allocations: 6.188 kB / 0.5971 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2545, allocations: 7.938 kB / 0.5971 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.2545, allocations: 4 kB / 0.5971 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.2549, allocations: 67.89 kB / 0.5972 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2549, allocations: 0 / 0.5972 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.2552, allocations: 39.73 kB / 0.5972 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.2552, allocations: 16.11 kB / 0.5972 GB, free: 6.801 MB / 0.4981 GB 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 0.0001452/0.2553, allocations: 134.3 kB / 0.5973 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.2554, allocations: 15.81 kB / 0.5974 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/0.256, allocations: 226.7 kB / 0.5976 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2561, allocations: 0 / 0.5976 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2561, allocations: 0 / 0.5976 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2561, allocations: 4 kB / 0.5976 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.2564, allocations: 249.5 kB / 0.5978 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2564, allocations: 4 kB / 0.5978 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.2567, allocations: 47.97 kB / 0.5979 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.2567, allocations: 0 / 0.5979 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.2568, allocations: 11.92 kB / 0.5979 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2568, allocations: 0 / 0.5979 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2568, allocations: 0 / 0.5979 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.2573, allocations: 293.5 kB / 0.5982 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.2574, allocations: 100.9 kB / 0.5983 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.2575, allocations: 4 kB / 0.5983 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.2578, allocations: 23.97 kB / 0.5983 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.2578, allocations: 11.94 kB / 0.5983 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.2579, allocations: 12 kB / 0.5983 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.094e-05/0.258, allocations: 115.2 kB / 0.5984 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.258, allocations: 0 / 0.5984 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000381/0.2584, allocations: 68.06 kB / 0.5985 GB, free: 5.41 MB / 0.4981 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 (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.0002516/0.2586, allocations: 146.6 kB / 0.5986 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005556/0.2592, allocations: 179.8 kB / 0.5988 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2592, allocations: 0 / 0.5988 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.2595, allocations: 99.03 kB / 0.5989 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.26, allocations: 74.03 kB / 0.599 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.261, allocations: 451.2 kB / 0.5994 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.2613, allocations: 0.7211 MB / 0.6001 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003796/0.2617, allocations: 53.92 kB / 0.6001 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.075e-05/0.2618, allocations: 27.42 kB / 0.6002 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.2618, allocations: 0 / 0.6002 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of Templates: time 0.00707/0.2689, allocations: 3.372 MB / 0.6035 GB, free: 332 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)