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.7345/0.7345, allocations: 128.7 MB / 143.7 MB, free: 2.336 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.001107/0.001107, allocations: 178.4 kB / 173.7 MB, free: 6.148 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.705/1.705, allocations: 205.4 MB / 409 MB, free: 10.53 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.0009691/0.0009692, allocations: 90.41 kB / 486.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 9.375 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1718, allocations: 76.77 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7567/0.9285, allocations: 310.7 MB / 0.9388 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.9289, allocations: 89.8 kB / 0.9389 GB, free: 14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.04273/0.9717, allocations: 17.12 MB / 0.9556 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9717, allocations: 4 kB / 0.9556 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.901e-05/0.9718, allocations: 4 kB / 0.9556 GB, free: 15.61 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.000934/0.9727, allocations: 492.6 kB / 0.9561 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.9728, allocations: 15.95 kB / 0.9561 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.896e-05/0.9729, allocations: 49.44 kB / 0.9562 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.9748, allocations: 182.1 kB / 0.9563 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.9752, allocations: 202.7 kB / 0.9565 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.9752, allocations: 15.52 kB / 0.9565 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.9753, allocations: 15.75 kB / 0.9566 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.976, allocations: 297.5 kB / 0.9568 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.976, allocations: 3.938 kB / 0.9568 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.976, allocations: 15.11 kB / 0.9569 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.9761, allocations: 8 kB / 0.9569 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006783/0.9768, allocations: 266.1 kB / 0.9571 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.9786, allocations: 1.379 MB / 0.9585 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.9792, allocations: 193.8 kB / 0.9587 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.9793, allocations: 7.984 kB / 0.9587 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.9793, allocations: 41.89 kB / 0.9587 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.486e-06/0.9793, allocations: 7.875 kB / 0.9587 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0007571/0.9801, allocations: 245.7 kB / 0.9589 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.9802, allocations: 51.41 kB / 0.959 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.9803, allocations: 146.4 kB / 0.9591 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.9804, allocations: 29.7 kB / 0.9592 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.9805, allocations: 123.2 kB / 0.9593 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.9805, allocations: 62.16 kB / 0.9593 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.9805, allocations: 3.75 kB / 0.9593 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9807, allocations: 329.9 kB / 0.9597 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.9809, allocations: 66.55 kB / 0.9597 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.9812, allocations: 133.8 kB / 0.9598 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.9814, allocations: 77.22 kB / 0.9599 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9814, allocations: 8 kB / 0.9599 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005498/0.982, allocations: 249.3 kB / 0.9602 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.982, allocations: 8 kB / 0.9602 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.982, allocations: 320 / 0.9602 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.982, allocations: 15.95 kB / 0.9602 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.9824, allocations: 67.89 kB / 0.9603 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.9824, allocations: 4 kB / 0.9603 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.9827, allocations: 35.3 kB / 0.9603 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.9828, allocations: 19.72 kB / 0.9603 GB, free: 10.97 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 () * 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.000151/0.9829, allocations: 129.5 kB / 0.9604 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.983, allocations: 15.81 kB / 0.9605 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.9836, allocations: 231.7 kB / 0.9607 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9836, allocations: 0 / 0.9607 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9837, allocations: 0 / 0.9607 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.9837, allocations: 3.953 kB / 0.9607 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.984, allocations: 242.2 kB / 0.9609 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.984, allocations: 0 / 0.9609 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.9843, allocations: 51.84 kB / 0.961 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.9844, allocations: 4 kB / 0.961 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.9844, allocations: 3.984 kB / 0.961 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.9844, allocations: 4 kB / 0.961 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9844, allocations: 3.953 kB / 0.961 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.9849, allocations: 292.2 kB / 0.9612 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.9851, allocations: 120.4 kB / 0.9614 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.9851, allocations: 0 / 0.9614 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.9854, allocations: 15.42 kB / 0.9614 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.9854, allocations: 15.61 kB / 0.9614 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.9855, allocations: 4 kB / 0.9614 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.512e-05/0.9856, allocations: 121.1 kB / 0.9615 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9856, allocations: 0 / 0.9615 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004002/0.986, allocations: 63 kB / 0.9616 GB, free: 9.75 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 () * 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.00097/0.987, allocations: 0.8688 MB / 0.9624 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005135/0.9875, allocations: 184.1 kB / 0.9626 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.9875, allocations: 0 / 0.9626 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.9877, allocations: 82.45 kB / 0.9627 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.9882, allocations: 55 kB / 0.9627 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.9912, allocations: 2.597 MB / 0.9653 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.9916, allocations: 0.7215 MB / 0.966 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003783/0.992, allocations: 49.94 kB / 0.966 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.9921, allocations: 48.78 kB / 0.9661 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.9921, allocations: 0 / 0.9661 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/1.015, allocations: 4.627 MB / 0.9706 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/1.015, allocations: 227.1 kB / 0.9708 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.757, allocations: 0 / 0.9708 GB, free: 0.625 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)