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.0008766/0.0008767, allocations: 92 kB / 15.36 MB, free: 0.7344 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.007924/0.007925, allocations: 170 kB / 16.26 MB, free: 6.68 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.568/1.568, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.032/1.032, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004377, allocations: 9 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.187, allocations: 82.31 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004622/0.1916, allocations: 3.728 MB / 0.5916 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002733/0.1944, allocations: 2.426 MB / 0.594 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.1945, allocations: 0 / 0.594 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1948, allocations: 43.8 kB / 0.594 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.1951, allocations: 91.41 kB / 0.5941 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1965, allocations: 477.4 kB / 0.5946 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.1969, allocations: 343.7 kB / 0.5949 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.1969, allocations: 9.562 kB / 0.5949 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.1972, allocations: 111.6 kB / 0.595 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1973, allocations: 99.59 kB / 0.5951 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1974, allocations: 4 kB / 0.5951 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008265/0.1982, allocations: 463.1 kB / 0.5955 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.359e-05/0.1983, allocations: 39.89 kB / 0.5956 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1984, allocations: 113.3 kB / 0.5957 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005721/0.199, allocations: 411.2 kB / 0.5961 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.199, allocations: 4 kB / 0.5961 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.199, allocations: 0 / 0.5961 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.199, allocations: 0 / 0.5961 GB, free: 10.25 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.0007457/0.1998, allocations: 475.2 kB / 0.5965 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1998, allocations: 11.97 kB / 0.5966 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.2018, allocations: 184.5 kB / 0.5967 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.2021, allocations: 208.1 kB / 0.5969 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.2021, allocations: 12.7 kB / 0.5969 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.2022, allocations: 20.38 kB / 0.597 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/0.2028, allocations: 308.4 kB / 0.5973 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2029, allocations: 0 / 0.5973 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.2029, allocations: 8 kB / 0.5973 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.2029, allocations: 4 kB / 0.5973 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.2037, allocations: 260.4 kB / 0.5975 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.2055, allocations: 1.392 MB / 0.5989 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.2062, allocations: 202.3 kB / 0.5991 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.2064, allocations: 80.81 kB / 0.5991 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.2065, allocations: 7.984 kB / 0.5992 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.2065, allocations: 38.56 kB / 0.5992 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.2065, allocations: 0 / 0.5992 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0008407/0.2073, allocations: 240.2 kB / 0.5994 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.2074, allocations: 51.41 kB / 0.5995 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.2076, allocations: 169.4 kB / 0.5996 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.2076, allocations: 25.7 kB / 0.5997 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.2077, allocations: 132 kB / 0.5998 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.2077, allocations: 63.09 kB / 0.5998 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.2078, allocations: 25.66 kB / 0.5999 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2079, allocations: 326.8 kB / 0.6002 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.2081, allocations: 64.42 kB / 0.6002 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.2084, allocations: 140 kB / 0.6004 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.2089, allocations: 217.2 kB / 0.6006 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2089, allocations: 0 / 0.6006 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005701/0.2095, allocations: 255.3 kB / 0.6008 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2095, allocations: 8 kB / 0.6008 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.2095, allocations: 0 / 0.6008 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2095, allocations: 4 kB / 0.6008 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.2099, allocations: 63.89 kB / 0.6009 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2099, allocations: 7.938 kB / 0.6009 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.2102, allocations: 36.05 kB / 0.6009 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.2102, allocations: 15.98 kB / 0.601 GB, free: 4.895 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.0001272/0.2103, allocations: 134.3 kB / 0.6011 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.2104, allocations: 15.81 kB / 0.6011 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006671/0.2111, allocations: 232.5 kB / 0.6013 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2111, allocations: 4 kB / 0.6013 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2111, allocations: 0 / 0.6013 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2111, allocations: 0 / 0.6013 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.2114, allocations: 257.6 kB / 0.6016 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2114, allocations: 3.938 kB / 0.6016 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.2117, allocations: 43.91 kB / 0.6016 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2117, allocations: 4 kB / 0.6016 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.2117, allocations: 4 kB / 0.6016 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2117, allocations: 3.984 kB / 0.6016 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2117, allocations: 4 kB / 0.6016 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.2123, allocations: 293.6 kB / 0.6019 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-05/0.2124, allocations: 101 kB / 0.602 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2124, allocations: 8 kB / 0.602 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.2127, allocations: 15.98 kB / 0.602 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.2127, allocations: 15.98 kB / 0.602 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.2128, allocations: 11.98 kB / 0.6021 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.591e-05/0.2129, allocations: 118.9 kB / 0.6022 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2129, allocations: 0 / 0.6022 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003691/0.2132, allocations: 63.84 kB / 0.6022 GB, free: 3.496 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.0002473/0.2135, allocations: 143.2 kB / 0.6024 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005704/0.2141, allocations: 184.3 kB / 0.6025 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2141, allocations: 3.938 kB / 0.6025 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.2143, allocations: 91.89 kB / 0.6026 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.2149, allocations: 55.89 kB / 0.6027 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.216, allocations: 499.4 kB / 0.6032 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2163, allocations: 0.7214 MB / 0.6039 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003407/0.2166, allocations: 53.92 kB / 0.6039 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.713e-05/0.2167, allocations: 23.42 kB / 0.6039 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.2167, allocations: 0 / 0.6039 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.3077/0.5245, allocations: 3.23 MB / 0.6071 GB, free: 48.62 MB / 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)