Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.537/1.537, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 183.2 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009963/0.0009963, allocations: 101.8 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 9.375 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2872, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.353, allocations: 339.8 MB / 1.232 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/1.354, allocations: 80.2 kB / 1.232 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04184/1.395, allocations: 16.31 MB / 1.248 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.755e-06/1.396, allocations: 0 / 1.248 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.778e-05/1.396, allocations: 4 kB / 1.248 GB, free: 12.52 MB / 0.7605 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.0008372/1.396, allocations: 486.4 kB / 1.248 GB, free: 12 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.396, allocations: 8.031 kB / 1.248 GB, free: 12 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.206e-05/1.397, allocations: 53.92 kB / 1.249 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/1.398, allocations: 169.7 kB / 1.249 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/1.399, allocations: 217.7 kB / 1.249 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/1.399, allocations: 12.08 kB / 1.249 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/1.399, allocations: 10.94 kB / 1.249 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006789/1.399, allocations: 302 kB / 1.249 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/1.399, allocations: 0 / 1.249 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/1.4, allocations: 14.88 kB / 1.249 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/1.4, allocations: 4 kB / 1.249 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/1.4, allocations: 270.1 kB / 1.249 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/1.402, allocations: 1.379 MB / 1.251 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/1.403, allocations: 193.7 kB / 1.251 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/1.403, allocations: 4 kB / 1.251 GB, free: 9.457 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/1.403, allocations: 38.25 kB / 1.251 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.963e-06/1.403, allocations: 0 / 1.251 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0007991/1.404, allocations: 249.9 kB / 1.251 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/1.404, allocations: 59.3 kB / 1.251 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/1.404, allocations: 145.7 kB / 1.252 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/1.404, allocations: 29.2 kB / 1.252 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/1.404, allocations: 123.3 kB / 1.252 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/1.404, allocations: 69.84 kB / 1.252 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/1.404, allocations: 0 / 1.252 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.404, allocations: 330.5 kB / 1.252 GB, free: 8.477 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/1.404, allocations: 62.55 kB / 1.252 GB, free: 8.43 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/1.405, allocations: 136.1 kB / 1.252 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/1.405, allocations: 85.38 kB / 1.252 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.405, allocations: 4 kB / 1.252 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005315/1.406, allocations: 251.8 kB / 1.253 GB, free: 8.016 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.406, allocations: 6.031 kB / 1.253 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.406, allocations: 7.938 kB / 1.253 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.406, allocations: 4 kB / 1.253 GB, free: 8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/1.406, allocations: 64.27 kB / 1.253 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/1.406, allocations: 11.94 kB / 1.253 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/1.406, allocations: 35.19 kB / 1.253 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/1.406, allocations: 15.55 kB / 1.253 GB, free: 7.883 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/1.406, allocations: 129 kB / 1.253 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/1.407, allocations: 11.91 kB / 1.253 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/1.407, allocations: 227.3 kB / 1.253 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.407, allocations: 4 kB / 1.253 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.407, allocations: 4 kB / 1.253 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.407, allocations: 0 / 1.253 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/1.408, allocations: 241.8 kB / 1.253 GB, free: 7.301 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.408, allocations: 0 / 1.253 GB, free: 7.301 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/1.408, allocations: 51.91 kB / 1.253 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.408, allocations: 0 / 1.253 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/1.408, allocations: 7.359 kB / 1.253 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.408, allocations: 0 / 1.253 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.408, allocations: 4 kB / 1.253 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/1.408, allocations: 294.1 kB / 1.254 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/1.409, allocations: 112.6 kB / 1.254 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/1.409, allocations: 7.359 kB / 1.254 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/1.409, allocations: 19.92 kB / 1.254 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/1.409, allocations: 11.98 kB / 1.254 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/1.409, allocations: 7.25 kB / 1.254 GB, free: 6.82 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001038/1.409, allocations: 113.8 kB / 1.254 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/1.409, allocations: 3.938 kB / 1.254 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004345/1.41, allocations: 59.31 kB / 1.254 GB, free: 6.664 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/1.411, allocations: 0.873 MB / 1.255 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005219/1.411, allocations: 169.1 kB / 1.255 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.411, allocations: 4 kB / 1.255 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/1.411, allocations: 84.09 kB / 1.255 GB, free: 5.617 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/1.412, allocations: 54.84 kB / 1.255 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/1.415, allocations: 2.603 MB / 1.258 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/1.415, allocations: 0.7176 MB / 1.258 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003901/1.416, allocations: 53.92 kB / 1.258 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/1.416, allocations: 48.78 kB / 1.258 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of SimCode: time 2.484e-06/1.416, allocations: 4 kB / 1.258 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/1.434, allocations: 4.586 MB / 1.263 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/1.435, allocations: 235.5 kB / 1.263 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/3.212, allocations: 0 / 1.263 GB, free: 13.55 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)