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: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7382/0.7382, allocations: 127.4 MB / 134.9 MB, free: 3.5 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.001236/0.001236, allocations: 183.3 kB / 164.6 MB, free: 11.6 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.441/1.441, allocations: 205.2 MB / 399.5 MB, free: 13.51 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.0009156/0.0009154, allocations: 86.47 kB / 476.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.867e-05, allocations: 2.406 kB / 0.5466 GB, free: 95.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1819, allocations: 76.77 MB / 0.6215 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7454/0.9273, allocations: 311.2 MB / 0.9254 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.9276, allocations: 81.75 kB / 0.9255 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.148/1.076, allocations: 66.13 MB / 0.9901 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.373e-06/1.076, allocations: 0 / 0.9901 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.758e-05/1.076, allocations: 8 kB / 0.9901 GB, free: 5 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.001144/1.077, allocations: 0.5845 MB / 0.9907 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.077, allocations: 12.03 kB / 0.9907 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007782/1.078, allocations: 71.56 kB / 0.9908 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/1.078, allocations: 274.5 kB / 0.991 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/1.078, allocations: 8 kB / 0.991 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/1.078, allocations: 19.94 kB / 0.991 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003901/1.079, allocations: 173.1 kB / 0.9912 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/1.079, allocations: 293.1 kB / 0.9915 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/1.079, allocations: 3.984 kB / 0.9915 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/1.079, allocations: 3.953 kB / 0.9915 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/1.079, allocations: 8 kB / 0.9915 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/1.081, allocations: 1.628 MB / 0.9931 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/1.082, allocations: 163 kB / 0.9932 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/1.082, allocations: 73.98 kB / 0.9933 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/1.082, allocations: 4.188 kB / 0.9933 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/1.082, allocations: 38.69 kB / 0.9934 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 2.565e-06/1.082, allocations: 0 / 0.9934 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.002471/1.084, allocations: 0.8386 MB / 0.9942 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.084, allocations: 55.41 kB / 0.9942 GB, free: 460 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/1.085, allocations: 199.1 kB / 0.9944 GB, free: 252 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/1.085, allocations: 25.7 kB / 0.9944 GB, free: 220 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/1.085, allocations: 187.8 kB / 0.9946 GB, free: 28 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.3997/1.485, allocations: 80.23 kB / 0.9947 GB, free: 225.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/1.485, allocations: 0 / 0.9947 GB, free: 225.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.485, allocations: 335.6 kB / 0.995 GB, free: 225.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/1.485, allocations: 80.72 kB / 0.9951 GB, free: 225.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/1.485, allocations: 167 kB / 0.9953 GB, free: 225.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/1.486, allocations: 102.2 kB / 0.9954 GB, free: 225.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.486, allocations: 0 / 0.9954 GB, free: 225.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001019/1.487, allocations: 389.3 kB / 0.9957 GB, free: 225.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.487, allocations: 9.875 kB / 0.9957 GB, free: 225.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.487, allocations: 2.438 kB / 0.9957 GB, free: 225.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/1.487, allocations: 127.1 kB / 0.9959 GB, free: 225.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/1.488, allocations: 63.45 kB / 0.9959 GB, free: 225.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/1.49, allocations: 1.944 MB / 0.9978 GB, free: 224 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/1.491, allocations: 23.84 kB / 0.9978 GB, free: 224 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/1.491, allocations: 15 kB / 0.9979 GB, free: 224 MB / 0.6511 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.0001903/1.491, allocations: 116.8 kB / 0.998 GB, free: 223.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/1.491, allocations: 24.44 kB / 0.998 GB, free: 223.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/1.491, allocations: 27.86 kB / 0.998 GB, free: 223.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.491, allocations: 10.48 kB / 0.998 GB, free: 223.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.491, allocations: 4.594 kB / 0.998 GB, free: 223.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007682/1.492, allocations: 0.5882 MB / 0.9986 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/1.493, allocations: 0.728 MB / 0.9993 GB, free: 223.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.493, allocations: 1.453 kB / 0.9993 GB, free: 223.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/1.494, allocations: 48.64 kB / 0.9994 GB, free: 223.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006126/1.494, allocations: 124.2 kB / 0.9995 GB, free: 223.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/1.494, allocations: 8.781 kB / 0.9995 GB, free: 223.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/1.497, allocations: 1.838 MB / 1.001 GB, free: 221.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.497, allocations: 2.828 kB / 1.001 GB, free: 221.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/1.498, allocations: 0.5506 MB / 1.002 GB, free: 221.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.498, allocations: 95.33 kB / 1.002 GB, free: 221.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/1.498, allocations: 6.828 kB / 1.002 GB, free: 221.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/1.498, allocations: 18.2 kB / 1.002 GB, free: 221.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/1.498, allocations: 23.58 kB / 1.002 GB, free: 221.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/1.498, allocations: 16.2 kB / 1.002 GB, free: 221.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001818/1.498, allocations: 158.4 kB / 1.002 GB, free: 221.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.9e-07/1.498, allocations: 0 / 1.002 GB, free: 221.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007573/1.499, allocations: 97.59 kB / 1.002 GB, free: 221.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 () * 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.0002968/1.5, allocations: 171.8 kB / 1.002 GB, free: 221.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009943/1.501, allocations: 383.2 kB / 1.003 GB, free: 221.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.501, allocations: 1.281 kB / 1.003 GB, free: 221.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005969/1.501, allocations: 256.1 kB / 1.003 GB, free: 221.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009695/1.502, allocations: 128.8 kB / 1.003 GB, free: 221.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/1.503, allocations: 444.7 kB / 1.004 GB, free: 220.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/1.504, allocations: 0.7729 MB / 1.004 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003931/1.504, allocations: 46.3 kB / 1.004 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/1.504, allocations: 23.27 kB / 1.004 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/1.504, allocations: 0 / 1.004 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.01459/1.519, allocations: 5.915 MB / 1.01 GB, free: 220.1 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)