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.7418/0.7418, allocations: 127.3 MB / 139.8 MB, free: 15.5 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.001302/0.001302, allocations: 179.6 kB / 169.7 MB, free: 1.766 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.826/1.826, allocations: 205.1 MB / 404.5 MB, free: 1.602 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.001001/0.001, allocations: 94.16 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.445e-05, allocations: 0 / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1947, allocations: 76.76 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.329/1.524, allocations: 311.9 MB / 0.9328 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/1.524, allocations: 82.77 kB / 0.9329 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1255/1.65, allocations: 66.38 MB / 0.9977 GB, free: 140.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.788e-06/1.65, allocations: 0 / 0.9977 GB, free: 140.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.144e-05/1.65, allocations: 4 kB / 0.9977 GB, free: 140.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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001078/1.651, allocations: 0.5807 MB / 0.9983 GB, free: 140 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/1.651, allocations: 12.03 kB / 0.9983 GB, free: 140 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.48e-05/1.651, allocations: 58.53 kB / 0.9984 GB, free: 139.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006343/1.652, allocations: 83.5 kB / 0.9984 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/1.652, allocations: 274.5 kB / 0.9987 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/1.652, allocations: 16.56 kB / 0.9987 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/1.652, allocations: 24 kB / 0.9987 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/1.653, allocations: 326.3 kB / 0.999 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/1.653, allocations: 3.938 kB / 0.999 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/1.653, allocations: 15.95 kB / 0.9991 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/1.653, allocations: 4 kB / 0.9991 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/1.653, allocations: 193.6 kB / 0.9993 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/1.655, allocations: 1.694 MB / 1.001 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/1.655, allocations: 175.2 kB / 1.001 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/1.655, allocations: 74.73 kB / 1.001 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/1.655, allocations: 8.125 kB / 1.001 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.655, allocations: 42.69 kB / 1.001 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/1.655, allocations: 0 / 1.001 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.002231/1.657, allocations: 0.9025 MB / 1.002 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/1.657, allocations: 51.41 kB / 1.002 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/1.658, allocations: 238.9 kB / 1.002 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/1.658, allocations: 29.7 kB / 1.002 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/1.658, allocations: 176 kB / 1.003 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/1.658, allocations: 98.62 kB / 1.003 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/1.658, allocations: 4 kB / 1.003 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.168e-05/1.658, allocations: 342.8 kB / 1.003 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/1.658, allocations: 91.78 kB / 1.003 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/1.658, allocations: 169.1 kB / 1.003 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/1.658, allocations: 111.9 kB / 1.003 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/1.658, allocations: 3.938 kB / 1.003 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007689/1.659, allocations: 429.6 kB / 1.004 GB, free: 134 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.659, allocations: 8 kB / 1.004 GB, free: 134 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.659, allocations: 4 kB / 1.004 GB, free: 134 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004552/1.66, allocations: 129 kB / 1.004 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/1.66, allocations: 63.91 kB / 1.004 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/1.662, allocations: 1.998 MB / 1.006 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/1.663, allocations: 32.03 kB / 1.006 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/1.663, allocations: 12 kB / 1.006 GB, free: 131.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 (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 9.986e-05/1.663, allocations: 124.9 kB / 1.006 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/1.663, allocations: 31.61 kB / 1.006 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.058e-05/1.663, allocations: 30.88 kB / 1.006 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.663, allocations: 0 / 1.006 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.663, allocations: 8 kB / 1.006 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006989/1.664, allocations: 0.6059 MB / 1.007 GB, free: 130.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.665, allocations: 0.7889 MB / 1.007 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.665, allocations: 3.938 kB / 1.007 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/1.665, allocations: 43.97 kB / 1.008 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/1.665, allocations: 120.9 kB / 1.008 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/1.665, allocations: 15.94 kB / 1.008 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/1.667, allocations: 1.905 MB / 1.01 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.667, allocations: 0 / 1.01 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/1.668, allocations: 0.5845 MB / 1.01 GB, free: 127 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/1.668, allocations: 104.8 kB / 1.01 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/1.668, allocations: 4 kB / 1.01 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/1.669, allocations: 19.98 kB / 1.01 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/1.669, allocations: 23.98 kB / 1.01 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/1.669, allocations: 16.17 kB / 1.01 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000185/1.669, allocations: 187.1 kB / 1.01 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.669, allocations: 3.938 kB / 1.01 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006143/1.67, allocations: 108 kB / 1.011 GB, free: 126.6 MB / 0.6355 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 () * 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.001333/1.671, allocations: 1.465 MB / 1.012 GB, free: 125 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006947/1.672, allocations: 382.1 kB / 1.012 GB, free: 124.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.672, allocations: 0 / 1.012 GB, free: 124.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005009/1.672, allocations: 279.9 kB / 1.013 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008172/1.673, allocations: 159.6 kB / 1.013 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/1.674, allocations: 0.5291 MB / 1.013 GB, free: 123.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/1.674, allocations: 0.7726 MB / 1.014 GB, free: 122.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002625/1.675, allocations: 50.95 kB / 1.014 GB, free: 122.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/1.675, allocations: 87.41 kB / 1.014 GB, free: 122.7 MB / 0.6355 GB Notification: Performance of SimCode: time 3.21e-07/1.675, allocations: 0 / 1.014 GB, free: 122.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/1.698, allocations: 10.03 MB / 1.024 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/1.698, allocations: 247 kB / 1.024 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/4.023, allocations: 3.438 kB / 1.024 GB, free: 112.6 MB / 0.6355 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)