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.7435/0.7435, allocations: 127.4 MB / 134.9 MB, free: 3.719 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 180.8 kB / 164.6 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.2 MB / 399.5 MB, free: 5.867 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.0009887/0.000989, allocations: 90.05 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.71e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1842, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.383/1.567, allocations: 310.2 MB / 0.9246 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/1.568, allocations: 79.19 kB / 0.9247 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03837/1.606, allocations: 16.99 MB / 0.9413 GB, free: 184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.784e-06/1.606, allocations: 0 / 0.9413 GB, free: 184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.522e-05/1.606, allocations: 3.906 kB / 0.9413 GB, free: 184 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.0007023/1.607, allocations: 480.1 kB / 0.9417 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.607, allocations: 11.72 kB / 0.9417 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/1.609, allocations: 179.3 kB / 0.9419 GB, free: 183.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/1.609, allocations: 213.2 kB / 0.9421 GB, free: 183.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/1.609, allocations: 7.781 kB / 0.9421 GB, free: 183.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/1.609, allocations: 7.75 kB / 0.9421 GB, free: 183.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003786/1.609, allocations: 192.2 kB / 0.9423 GB, free: 183.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/1.61, allocations: 242.1 kB / 0.9425 GB, free: 183 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.61, allocations: 0 / 0.9425 GB, free: 183 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/1.61, allocations: 3.969 kB / 0.9425 GB, free: 183 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/1.61, allocations: 7.828 kB / 0.9425 GB, free: 183 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/1.611, allocations: 1.333 MB / 0.9438 GB, free: 181.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/1.612, allocations: 157 kB / 0.944 GB, free: 181.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.361e-05/1.612, allocations: 55.7 kB / 0.944 GB, free: 181.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/1.612, allocations: 11.53 kB / 0.9441 GB, free: 181.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/1.612, allocations: 30.56 kB / 0.9441 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/1.612, allocations: 0 / 0.9441 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0003292/1.612, allocations: 146.3 kB / 0.9442 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/1.612, allocations: 59.33 kB / 0.9443 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.612, allocations: 123.6 kB / 0.9444 GB, free: 181.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/1.612, allocations: 25.7 kB / 0.9444 GB, free: 181.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/1.612, allocations: 131.7 kB / 0.9445 GB, free: 181.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/1.612, allocations: 62.22 kB / 0.9446 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/1.612, allocations: 0 / 0.9446 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/1.613, allocations: 322.5 kB / 0.9449 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/1.613, allocations: 43 kB / 0.945 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/1.613, allocations: 120.3 kB / 0.9451 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/1.613, allocations: 66.08 kB / 0.9451 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.613, allocations: 0 / 0.9451 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003117/1.613, allocations: 185.2 kB / 0.9453 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.613, allocations: 11.77 kB / 0.9453 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.613, allocations: 8.25 kB / 0.9453 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.613, allocations: 3.844 kB / 0.9453 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/1.614, allocations: 74.27 kB / 0.9454 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.614, allocations: 7.859 kB / 0.9454 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/1.614, allocations: 27.48 kB / 0.9454 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/1.614, allocations: 11.81 kB / 0.9454 GB, free: 180.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 9.925e-05/1.614, allocations: 112.9 kB / 0.9456 GB, free: 180.5 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002567/1.614, allocations: 140.8 kB / 0.9457 GB, free: 180.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/1.614, allocations: 11.59 kB / 0.9457 GB, free: 180.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/1.615, allocations: 183.5 kB / 0.9459 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.615, allocations: 3.906 kB / 0.9459 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.615, allocations: 3.953 kB / 0.9459 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.615, allocations: 3.984 kB / 0.9459 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/1.615, allocations: 203.2 kB / 0.9461 GB, free: 180.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.615, allocations: 0 / 0.9461 GB, free: 180.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/1.615, allocations: 54.95 kB / 0.9461 GB, free: 180.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.615, allocations: 0 / 0.9461 GB, free: 180.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/1.616, allocations: 0 / 0.9461 GB, free: 180.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/1.616, allocations: 11.88 kB / 0.9461 GB, free: 180.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.616, allocations: 3.953 kB / 0.9462 GB, free: 180.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/1.616, allocations: 249.9 kB / 0.9464 GB, free: 180 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/1.616, allocations: 108.5 kB / 0.9465 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/1.616, allocations: 4 kB / 0.9465 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/1.616, allocations: 11.77 kB / 0.9465 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/1.616, allocations: 15.45 kB / 0.9465 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/1.616, allocations: 7.812 kB / 0.9465 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.143e-05/1.616, allocations: 102.1 kB / 0.9466 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.91e-07/1.616, allocations: 0 / 0.9466 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004532/1.617, allocations: 50.88 kB / 0.9467 GB, free: 179.8 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.0006039/1.617, allocations: 0.8242 MB / 0.9475 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002572/1.618, allocations: 134.9 kB / 0.9476 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.618, allocations: 4.188 kB / 0.9476 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.399e-05/1.618, allocations: 76.72 kB / 0.9477 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/1.618, allocations: 36.7 kB / 0.9477 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007411/1.619, allocations: 243.9 kB / 0.948 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/1.619, allocations: 0.7203 MB / 0.9487 GB, free: 178.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000323/1.619, allocations: 45.47 kB / 0.9487 GB, free: 178.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/1.62, allocations: 52.31 kB / 0.9487 GB, free: 178.1 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/1.62, allocations: 0 / 0.9487 GB, free: 178.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/1.642, allocations: 3.796 MB / 0.9525 GB, free: 176.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/1.643, allocations: 181.8 kB / 0.9526 GB, free: 176.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/3.367, allocations: 0 / 0.9526 GB, free: 176.1 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)