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.7251/0.7251, allocations: 127.4 MB / 134.9 MB, free: 3.727 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.00106/0.00106, allocations: 188.9 kB / 164.7 MB, free: 6.52 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.861/1.861, allocations: 205.2 MB / 399.5 MB, free: 5.875 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.0008955/0.0008954, allocations: 94.41 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.491e-05, allocations: 0 / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.397/1.601, allocations: 311.3 MB / 0.9257 GB, free: 232.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/1.601, allocations: 75.45 kB / 0.9257 GB, free: 232.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1198/1.721, allocations: 66.14 MB / 0.9903 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/1.721, allocations: 0 / 0.9903 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.859e-05/1.721, allocations: 4 kB / 0.9903 GB, free: 165.7 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.0008749/1.722, allocations: 0.5884 MB / 0.9909 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.722, allocations: 16.02 kB / 0.9909 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/1.723, allocations: 71.56 kB / 0.991 GB, free: 165 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/1.723, allocations: 274.5 kB / 0.9913 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/1.723, allocations: 8 kB / 0.9913 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/1.723, allocations: 16 kB / 0.9913 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003122/1.723, allocations: 169.1 kB / 0.9914 GB, free: 164.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/1.724, allocations: 293.1 kB / 0.9917 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.724, allocations: 4 kB / 0.9917 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/1.724, allocations: 7.953 kB / 0.9917 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.724, allocations: 12 kB / 0.9917 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/1.725, allocations: 1.624 MB / 0.9933 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/1.726, allocations: 163 kB / 0.9935 GB, free: 162.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/1.726, allocations: 73.2 kB / 0.9936 GB, free: 162.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/1.726, allocations: 4.188 kB / 0.9936 GB, free: 162.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/1.726, allocations: 46.69 kB / 0.9936 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/1.726, allocations: 0 / 0.9936 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.002087/1.728, allocations: 0.8441 MB / 0.9944 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/1.728, allocations: 51.41 kB / 0.9945 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/1.728, allocations: 203.1 kB / 0.9947 GB, free: 161 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/1.728, allocations: 25.7 kB / 0.9947 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/1.728, allocations: 183.8 kB / 0.9949 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/1.728, allocations: 90.66 kB / 0.995 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/1.728, allocations: 4 kB / 0.995 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/1.728, allocations: 334.8 kB / 0.9953 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/1.729, allocations: 79.78 kB / 0.9954 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/1.729, allocations: 169.1 kB / 0.9955 GB, free: 160 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/1.729, allocations: 99.95 kB / 0.9956 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.729, allocations: 0 / 0.9956 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007504/1.73, allocations: 381.8 kB / 0.996 GB, free: 159.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.73, allocations: 8 kB / 0.996 GB, free: 159.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.73, allocations: 16.19 kB / 0.996 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004511/1.73, allocations: 120.7 kB / 0.9961 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/1.73, allocations: 71.89 kB / 0.9962 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/1.733, allocations: 1.927 MB / 0.9981 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/1.733, allocations: 24.02 kB / 0.9981 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/1.733, allocations: 16 kB / 0.9981 GB, free: 157.3 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002/1.733, allocations: 117.5 kB / 0.9982 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006396/1.734, allocations: 301.9 kB / 0.9985 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/1.734, allocations: 23.81 kB / 0.9985 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.089e-05/1.734, allocations: 35.17 kB / 0.9986 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.734, allocations: 4 kB / 0.9986 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/1.734, allocations: 0 / 0.9986 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006426/1.735, allocations: 0.5946 MB / 0.9991 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/1.736, allocations: 0.7251 MB / 0.9998 GB, free: 155.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.736, allocations: 4 kB / 0.9999 GB, free: 155.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/1.736, allocations: 43.91 kB / 0.9999 GB, free: 155.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005387/1.737, allocations: 132.9 kB / 1 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/1.737, allocations: 4 kB / 1 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/1.739, allocations: 1.841 MB / 1.002 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.739, allocations: 0 / 1.002 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007833/1.739, allocations: 0.549 MB / 1.002 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.479e-05/1.739, allocations: 104.8 kB / 1.002 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/1.739, allocations: 4 kB / 1.002 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/1.74, allocations: 11.98 kB / 1.002 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/1.74, allocations: 24.03 kB / 1.002 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/1.74, allocations: 12 kB / 1.003 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000134/1.74, allocations: 161.8 kB / 1.003 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.74, allocations: 0 / 1.003 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006347/1.741, allocations: 104 kB / 1.003 GB, free: 152.1 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.001186/1.742, allocations: 1.423 MB / 1.004 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008375/1.743, allocations: 393.2 kB / 1.005 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.743, allocations: 0 / 1.005 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004748/1.743, allocations: 266.4 kB / 1.005 GB, free: 150 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000721/1.744, allocations: 124.2 kB / 1.005 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/1.745, allocations: 498.5 kB / 1.005 GB, free: 149.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/1.745, allocations: 0.7678 MB / 1.006 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002877/1.746, allocations: 59.19 kB / 1.006 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/1.746, allocations: 79.41 kB / 1.006 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/1.746, allocations: 8 kB / 1.006 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/1.776, allocations: 8.17 MB / 1.014 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/1.776, allocations: 199.1 kB / 1.014 GB, free: 140 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/3.83, allocations: 0 / 1.014 GB, free: 140 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)