Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.799/0.799, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 184.8 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.1 MB / 404.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009403/0.0009402, allocations: 91.09 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.487e-05/5.489e-05, allocations: 0 / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1706, allocations: 76.76 MB / 0.6283 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.27/1.441, allocations: 310.6 MB / 0.9316 GB, free: 223.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003752/1.441, allocations: 84.48 kB / 0.9317 GB, free: 223.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04789/1.489, allocations: 17.09 MB / 0.9484 GB, free: 206.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.489, allocations: 0 / 0.9484 GB, free: 206.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.792e-05/1.489, allocations: 4 kB / 0.9484 GB, free: 206.6 MB / 0.6355 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.0006932/1.49, allocations: 479.4 kB / 0.9488 GB, free: 206.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.49, allocations: 12.03 kB / 0.9488 GB, free: 206 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.543e-05/1.49, allocations: 50.55 kB / 0.9489 GB, free: 206 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/1.492, allocations: 175.5 kB / 0.949 GB, free: 205.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/1.492, allocations: 214.7 kB / 0.9492 GB, free: 205.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/1.492, allocations: 12.33 kB / 0.9493 GB, free: 205.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/1.492, allocations: 12 kB / 0.9493 GB, free: 205.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/1.493, allocations: 280.8 kB / 0.9495 GB, free: 205.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.493, allocations: 3.938 kB / 0.9495 GB, free: 205.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/1.493, allocations: 8 kB / 0.9495 GB, free: 205.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/1.493, allocations: 8 kB / 0.9496 GB, free: 205.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/1.493, allocations: 223.7 kB / 0.9498 GB, free: 205 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/1.494, allocations: 1.377 MB / 0.9511 GB, free: 203.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/1.495, allocations: 167.5 kB / 0.9513 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.447e-05/1.495, allocations: 56.86 kB / 0.9513 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/1.495, allocations: 8 kB / 0.9513 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/1.495, allocations: 38.52 kB / 0.9514 GB, free: 203.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/1.495, allocations: 0 / 0.9514 GB, free: 203.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.000311/1.495, allocations: 154.5 kB / 0.9515 GB, free: 203.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/1.495, allocations: 55.41 kB / 0.9516 GB, free: 203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/1.495, allocations: 143.9 kB / 0.9517 GB, free: 202.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/1.495, allocations: 33.69 kB / 0.9517 GB, free: 202.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/1.495, allocations: 120 kB / 0.9519 GB, free: 202.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/1.496, allocations: 71.09 kB / 0.9519 GB, free: 202.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/1.496, allocations: 0 / 0.9519 GB, free: 202.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.347e-05/1.496, allocations: 326.8 kB / 0.9522 GB, free: 202.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/1.496, allocations: 52.45 kB / 0.9523 GB, free: 202.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/1.496, allocations: 130.3 kB / 0.9524 GB, free: 202.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/1.496, allocations: 63.09 kB / 0.9525 GB, free: 202 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.496, allocations: 0 / 0.9525 GB, free: 202 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00029/1.496, allocations: 217.2 kB / 0.9527 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.496, allocations: 11.98 kB / 0.9527 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.496, allocations: 3.953 kB / 0.9527 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.496, allocations: 4 kB / 0.9527 GB, free: 201.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/1.497, allocations: 72.2 kB / 0.9528 GB, free: 201.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.497, allocations: 4 kB / 0.9528 GB, free: 201.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/1.497, allocations: 35.67 kB / 0.9528 GB, free: 201.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/1.497, allocations: 8 kB / 0.9528 GB, free: 201.7 MB / 0.6355 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 () * 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 8.278e-05/1.497, allocations: 116.9 kB / 0.9529 GB, free: 201.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/1.497, allocations: 23.73 kB / 0.9529 GB, free: 201.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/1.497, allocations: 203.2 kB / 0.9531 GB, free: 201.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/1.497, allocations: 4 kB / 0.9531 GB, free: 201.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.497, allocations: 0 / 0.9531 GB, free: 201.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.497, allocations: 7.953 kB / 0.9532 GB, free: 201.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/1.498, allocations: 241.4 kB / 0.9534 GB, free: 201 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.498, allocations: 0 / 0.9534 GB, free: 201 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/1.498, allocations: 47.97 kB / 0.9534 GB, free: 201 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.498, allocations: 4 kB / 0.9534 GB, free: 201 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/1.498, allocations: 7.984 kB / 0.9534 GB, free: 201 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.498, allocations: 0 / 0.9534 GB, free: 201 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.498, allocations: 3.953 kB / 0.9534 GB, free: 200.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/1.498, allocations: 270.3 kB / 0.9537 GB, free: 200.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/1.498, allocations: 108.9 kB / 0.9538 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/1.498, allocations: 4 kB / 0.9538 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/1.499, allocations: 15.98 kB / 0.9538 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/1.499, allocations: 15.92 kB / 0.9538 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/1.499, allocations: 11.94 kB / 0.9538 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.07e-05/1.499, allocations: 119.1 kB / 0.954 GB, free: 200.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/1.499, allocations: 4 kB / 0.954 GB, free: 200.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003288/1.499, allocations: 59.91 kB / 0.954 GB, free: 200.3 MB / 0.6355 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 () * 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.0005702/1.5, allocations: 0.8293 MB / 0.9548 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002618/1.5, allocations: 151.8 kB / 0.955 GB, free: 199.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.5, allocations: 0 / 0.955 GB, free: 199.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.693e-05/1.5, allocations: 67.48 kB / 0.955 GB, free: 199.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/1.501, allocations: 63.88 kB / 0.9551 GB, free: 199.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007646/1.501, allocations: 273.8 kB / 0.9554 GB, free: 198.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/1.501, allocations: 0.7174 MB / 0.9561 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003155/1.502, allocations: 50.05 kB / 0.9561 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/1.502, allocations: 47.41 kB / 0.9562 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/1.502, allocations: 4 kB / 0.9562 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/1.519, allocations: 4.62 MB / 0.9607 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/1.519, allocations: 196.8 kB / 0.9609 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/3.268, allocations: 0 / 0.9609 GB, free: 193.4 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)