Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.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.TemperatureDependentDensityTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTestImplementation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTestImplementation",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.7559/0.7559, allocations: 128.7 MB / 143.7 MB, free: 2.172 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.001156/0.001156, allocations: 176.4 kB / 173.7 MB, free: 6.027 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.79/1.79, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009899/0.0009897, allocations: 91.56 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003578, allocations: 8.719 kB / 0.5604 GB, free: 97.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.174, allocations: 76.76 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7624/0.9365, allocations: 312 MB / 0.94 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004262/0.937, allocations: 87.7 kB / 0.9401 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.5089/1.446, allocations: 66.72 MB / 1.005 GB, free: 223 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.865e-06/1.446, allocations: 1.281 kB / 1.005 GB, free: 223 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.951e-05/1.446, allocations: 9.031 kB / 1.005 GB, free: 223 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001007/1.447, allocations: 0.6141 MB / 1.006 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.447, allocations: 9.906 kB / 1.006 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.864e-05/1.447, allocations: 56.17 kB / 1.006 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006319/1.448, allocations: 85.83 kB / 1.006 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/1.448, allocations: 271.7 kB / 1.006 GB, free: 222.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/1.448, allocations: 20 kB / 1.006 GB, free: 222.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/1.448, allocations: 23.41 kB / 1.006 GB, free: 222.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006084/1.449, allocations: 333.4 kB / 1.007 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.449, allocations: 4.969 kB / 1.007 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/1.449, allocations: 15.08 kB / 1.007 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/1.449, allocations: 6.688 kB / 1.007 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/1.449, allocations: 234.9 kB / 1.007 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/1.451, allocations: 1.684 MB / 1.009 GB, free: 221 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/1.452, allocations: 189.8 kB / 1.009 GB, free: 220.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/1.452, allocations: 7.938 kB / 1.009 GB, free: 220.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/1.452, allocations: 39 kB / 1.009 GB, free: 220.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 1.903e-06/1.452, allocations: 0 / 1.009 GB, free: 220.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.003552/1.455, allocations: 1.229 MB / 1.01 GB, free: 220.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/1.455, allocations: 55.78 kB / 1.01 GB, free: 220.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/1.456, allocations: 240.8 kB / 1.01 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/1.456, allocations: 31.08 kB / 1.01 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/1.456, allocations: 180.5 kB / 1.01 GB, free: 220.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/1.456, allocations: 98.31 kB / 1.011 GB, free: 220 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/1.456, allocations: 9.156 kB / 1.011 GB, free: 220 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.162e-05/1.456, allocations: 340.6 kB / 1.011 GB, free: 219.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/1.456, allocations: 101.9 kB / 1.011 GB, free: 219.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/1.456, allocations: 189 kB / 1.011 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/1.457, allocations: 123.5 kB / 1.011 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.457, allocations: 4.344 kB / 1.011 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001054/1.458, allocations: 444.1 kB / 1.012 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.458, allocations: 11.73 kB / 1.012 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.458, allocations: 6.844 kB / 1.012 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/1.458, allocations: 131.4 kB / 1.012 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/1.459, allocations: 69.48 kB / 1.012 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/1.462, allocations: 2.064 MB / 1.014 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/1.462, allocations: 31.62 kB / 1.014 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/1.462, allocations: 10.91 kB / 1.014 GB, free: 218.2 MB / 0.6511 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 (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002026/1.462, allocations: 154.6 kB / 1.014 GB, free: 218.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/1.462, allocations: 30.09 kB / 1.014 GB, free: 218.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.4e-05/1.462, allocations: 43.14 kB / 1.014 GB, free: 218.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.462, allocations: 2.219 kB / 1.014 GB, free: 218.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.462, allocations: 0 / 1.014 GB, free: 218.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008946/1.463, allocations: 0.6314 MB / 1.015 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/1.465, allocations: 0.8104 MB / 1.016 GB, free: 217.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.465, allocations: 1.156 kB / 1.016 GB, free: 217.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/1.465, allocations: 39.5 kB / 1.016 GB, free: 217.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006703/1.466, allocations: 136.6 kB / 1.016 GB, free: 217.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/1.466, allocations: 12.14 kB / 1.016 GB, free: 217.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/1.468, allocations: 1.96 MB / 1.018 GB, free: 215.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.468, allocations: 1.062 kB / 1.018 GB, free: 215.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.469, allocations: 0.5983 MB / 1.018 GB, free: 215.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/1.469, allocations: 104.7 kB / 1.018 GB, free: 215.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/1.47, allocations: 7.219 kB / 1.018 GB, free: 215.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/1.47, allocations: 21.75 kB / 1.018 GB, free: 215.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/1.47, allocations: 28.86 kB / 1.018 GB, free: 215.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/1.47, allocations: 11.28 kB / 1.018 GB, free: 215.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000264/1.47, allocations: 195.3 kB / 1.019 GB, free: 215.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.47, allocations: 0 / 1.019 GB, free: 215.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006993/1.471, allocations: 114.4 kB / 1.019 GB, free: 215.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * 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 (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/1.473, allocations: 1.499 MB / 1.02 GB, free: 214.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009195/1.473, allocations: 421 kB / 1.021 GB, free: 214.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.473, allocations: 0 / 1.021 GB, free: 214.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006171/1.474, allocations: 290.5 kB / 1.021 GB, free: 214.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008632/1.475, allocations: 155 kB / 1.021 GB, free: 214.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/1.479, allocations: 3.387 MB / 1.024 GB, free: 211.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/1.479, allocations: 0.7734 MB / 1.025 GB, free: 211.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003768/1.48, allocations: 50.75 kB / 1.025 GB, free: 211.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/1.48, allocations: 83.61 kB / 1.025 GB, free: 211.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.983e-06/1.48, allocations: 4 kB / 1.025 GB, free: 211.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/1.507, allocations: 10.06 MB / 1.035 GB, free: 210.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/1.507, allocations: 260.8 kB / 1.035 GB, free: 210.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/3.777, allocations: 0 / 1.035 GB, free: 210.2 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTestImplementation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTestImplementation.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)