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.001323/0.001323, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.001249/0.00125, allocations: 197.9 kB / 16.91 MB, free: 6.176 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.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.83/0.83, allocations: 135.2 MB / 425.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 0.5055 GB, free: 8.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4068, allocations: 80.92 MB / 0.5846 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004731/0.4116, allocations: 4.088 MB / 0.5886 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.4138, allocations: 2.427 MB / 0.5909 GB, free: 20.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.4139, allocations: 2.969 kB / 0.5909 GB, free: 20.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.4141, allocations: 43.5 kB / 0.591 GB, free: 20.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.4144, allocations: 79.66 kB / 0.591 GB, free: 20.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.4156, allocations: 0.4925 MB / 0.5915 GB, free: 19.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.4159, allocations: 263.9 kB / 0.5918 GB, free: 19.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.4159, allocations: 10.66 kB / 0.5918 GB, free: 19.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.4161, allocations: 125 kB / 0.5919 GB, free: 19.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.4162, allocations: 91.66 kB / 0.592 GB, free: 19.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.4163, allocations: 8 kB / 0.592 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006003/0.4169, allocations: 467.7 kB / 0.5925 GB, free: 18.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.417, allocations: 40.47 kB / 0.5925 GB, free: 18.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.417, allocations: 87.59 kB / 0.5926 GB, free: 18.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.4173, allocations: 275.2 kB / 0.5928 GB, free: 18.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4174, allocations: 0 / 0.5928 GB, free: 18.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4174, allocations: 0 / 0.5928 GB, free: 18.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4174, allocations: 4 kB / 0.5928 GB, free: 18.22 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.0006476/0.418, allocations: 0.5038 MB / 0.5933 GB, free: 17.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.4181, allocations: 14.38 kB / 0.5933 GB, free: 17.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.42, allocations: 182.8 kB / 0.5935 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.4202, allocations: 209.6 kB / 0.5937 GB, free: 17.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.4202, allocations: 12.7 kB / 0.5937 GB, free: 17.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.4202, allocations: 12.38 kB / 0.5937 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.4208, allocations: 314.8 kB / 0.594 GB, free: 16.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4208, allocations: 3.938 kB / 0.594 GB, free: 16.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.4209, allocations: 12 kB / 0.5941 GB, free: 16.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.4209, allocations: 4 kB / 0.5941 GB, free: 16.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.4215, allocations: 265.1 kB / 0.5943 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.4227, allocations: 1.38 MB / 0.5957 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.4233, allocations: 189.5 kB / 0.5958 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.4235, allocations: 78.25 kB / 0.5959 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.4236, allocations: 4 kB / 0.5959 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.4236, allocations: 35.97 kB / 0.596 GB, free: 14.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.4236, allocations: 0 / 0.596 GB, free: 14.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006926/0.4243, allocations: 249.2 kB / 0.5962 GB, free: 14.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.4243, allocations: 55.41 kB / 0.5962 GB, free: 14.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.4244, allocations: 163.8 kB / 0.5964 GB, free: 14.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.4245, allocations: 29.69 kB / 0.5964 GB, free: 14.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.4245, allocations: 132 kB / 0.5966 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.4246, allocations: 67.09 kB / 0.5966 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.4246, allocations: 45.92 kB / 0.5967 GB, free: 14.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.4247, allocations: 327.8 kB / 0.597 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.4249, allocations: 65.55 kB / 0.597 GB, free: 13.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.4251, allocations: 149.4 kB / 0.5972 GB, free: 13.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.4255, allocations: 223.2 kB / 0.5974 GB, free: 13.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4255, allocations: 0 / 0.5974 GB, free: 13.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004792/0.426, allocations: 248 kB / 0.5976 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.426, allocations: 11.94 kB / 0.5976 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.426, allocations: 1.719 kB / 0.5976 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.426, allocations: 4 kB / 0.5976 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.4264, allocations: 63.89 kB / 0.5977 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.4264, allocations: 8.609 kB / 0.5977 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.4266, allocations: 33.88 kB / 0.5977 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.4267, allocations: 11.98 kB / 0.5978 GB, free: 12.85 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 9.393e-05/0.4268, allocations: 133.7 kB / 0.5979 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.4268, allocations: 16.31 kB / 0.5979 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005526/0.4274, allocations: 226.9 kB / 0.5981 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4274, allocations: 4 kB / 0.5981 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4274, allocations: 0 / 0.5981 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4274, allocations: 3.984 kB / 0.5981 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.4276, allocations: 254.3 kB / 0.5984 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4277, allocations: 0 / 0.5984 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.428, allocations: 48.86 kB / 0.5984 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.428, allocations: 4 kB / 0.5984 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.428, allocations: 0.6562 kB / 0.5984 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.428, allocations: 0 / 0.5984 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.428, allocations: 1.75 kB / 0.5984 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.4285, allocations: 292.3 kB / 0.5987 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.4285, allocations: 109.5 kB / 0.5988 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.4286, allocations: 7.984 kB / 0.5988 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.4289, allocations: 19.05 kB / 0.5988 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.4289, allocations: 7.984 kB / 0.5988 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.4289, allocations: 12 kB / 0.5989 GB, free: 11.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.434e-05/0.429, allocations: 113.3 kB / 0.599 GB, free: 11.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.429, allocations: 0 / 0.599 GB, free: 11.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003442/0.4293, allocations: 70.05 kB / 0.599 GB, free: 11.48 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.0001917/0.4295, allocations: 135.9 kB / 0.5992 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004868/0.43, allocations: 200.1 kB / 0.5993 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4301, allocations: 4 kB / 0.5994 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.4303, allocations: 84.81 kB / 0.5994 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.4308, allocations: 72.06 kB / 0.5995 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.4316, allocations: 0.4928 MB / 0.6 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.4318, allocations: 0.7134 MB / 0.6007 GB, free: 9.723 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.4319, allocations: 31.41 kB / 0.6007 GB, free: 9.691 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4319, allocations: 0 / 0.6007 GB, free: 9.691 MB / 446.1 MB Notification: Performance of Templates: time 0.00446/0.4364, allocations: 2.908 MB / 0.6035 GB, free: 6.809 MB / 446.1 MB 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)