Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.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.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7435/0.7435, allocations: 127.4 MB / 134.9 MB, free: 3.457 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.001019/0.001019, allocations: 179.4 kB / 164.6 MB, free: 11.62 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.713/1.713, allocations: 205.2 MB / 399.5 MB, free: 13.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.0009832/0.0009833, allocations: 77.78 kB / 476.7 MB, free: 1.484 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.634e-05, allocations: 2.469 kB / 0.5466 GB, free: 95.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1545, allocations: 76.76 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.108/5.263, allocations: 2.132 GB / 2.754 GB, free: 188.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/5.263, allocations: 75.58 kB / 2.754 GB, free: 188.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.455/5.718, allocations: 239.9 MB / 2.988 GB, free: 16.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.764e-06/5.718, allocations: 0 / 2.988 GB, free: 16.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.02e-05/5.718, allocations: 12 kB / 2.988 GB, free: 16.63 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001531/5.72, allocations: 0.674 MB / 2.989 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/5.72, allocations: 8.031 kB / 2.989 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/5.72, allocations: 55.53 kB / 2.989 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/5.721, allocations: 330.1 kB / 2.989 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/5.721, allocations: 15.94 kB / 2.989 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/5.721, allocations: 24 kB / 2.989 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005074/5.722, allocations: 317.4 kB / 2.989 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/5.722, allocations: 326.1 kB / 2.99 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/5.722, allocations: 3.953 kB / 2.99 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/5.722, allocations: 4 kB / 2.99 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/5.722, allocations: 8 kB / 2.99 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/5.724, allocations: 1.466 MB / 2.991 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/5.725, allocations: 269 kB / 2.991 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/5.725, allocations: 151.5 kB / 2.991 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/5.725, allocations: 8.266 kB / 2.991 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/5.725, allocations: 42.84 kB / 2.991 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/5.725, allocations: 4 kB / 2.991 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.001978/5.727, allocations: 1.018 MB / 2.992 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/5.727, allocations: 55.41 kB / 2.992 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/5.727, allocations: 216.4 kB / 2.993 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/5.727, allocations: 25.7 kB / 2.993 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/5.727, allocations: 200.2 kB / 2.993 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/5.727, allocations: 130 kB / 2.993 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/5.727, allocations: 0 / 2.993 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.91e-05/5.728, allocations: 338.8 kB / 2.993 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/5.728, allocations: 128.8 kB / 2.993 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/5.728, allocations: 176.1 kB / 2.994 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/5.728, allocations: 157.7 kB / 2.994 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/5.728, allocations: 4 kB / 2.994 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005741/5.729, allocations: 431.5 kB / 2.994 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/5.729, allocations: 8 kB / 2.994 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/5.729, allocations: 3.984 kB / 2.994 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/5.729, allocations: 41.7 kB / 2.994 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/5.729, allocations: 95.83 kB / 2.994 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/5.731, allocations: 2.516 MB / 2.997 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/5.731, allocations: 35.97 kB / 2.997 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/5.731, allocations: 12 kB / 2.997 GB, free: 6.797 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001612/5.731, allocations: 117.8 kB / 2.997 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/5.731, allocations: 31.62 kB / 2.997 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.859e-05/5.731, allocations: 43.39 kB / 2.997 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/5.731, allocations: 4 kB / 2.997 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/5.731, allocations: 0 / 2.997 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004313/5.732, allocations: 0.5535 MB / 2.998 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/5.733, allocations: 0.9527 MB / 2.999 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/5.733, allocations: 4 kB / 2.999 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/5.733, allocations: 95.83 kB / 2.999 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/5.733, allocations: 0 / 2.999 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/5.733, allocations: 8 kB / 2.999 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/5.733, allocations: 7.938 kB / 2.999 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/5.733, allocations: 4.188 kB / 2.999 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/5.734, allocations: 0.6984 MB / 2.999 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/5.734, allocations: 148.8 kB / 2.999 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/5.734, allocations: 4 kB / 2.999 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/5.735, allocations: 27.89 kB / 2.999 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/5.735, allocations: 35.94 kB / 3 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/5.735, allocations: 27.91 kB / 3 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000122/5.735, allocations: 168.5 kB / 3 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/5.735, allocations: 0 / 3 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007076/5.736, allocations: 176 kB / 3 GB, free: 3.48 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.Xi[1],volume.medium.T,volume.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.001456/5.737, allocations: 1.174 MB / 3.001 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006329/5.738, allocations: 0.5271 MB / 3.002 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/5.738, allocations: 0 / 3.002 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/5.738, allocations: 163.8 kB / 3.002 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/5.739, allocations: 181.2 kB / 3.002 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/5.74, allocations: 0.7421 MB / 3.003 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3321/6.072, allocations: 0.8357 MB / 3.003 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005594/6.073, allocations: 88.59 kB / 3.003 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/6.073, allocations: 36.7 kB / 3.004 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/6.073, allocations: 2.812 kB / 3.004 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.02082/6.094, allocations: 13.39 MB / 3.017 GB, free: 169.4 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe 2>&1)