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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTestImplementation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTestImplementation",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.7206/0.7206, allocations: 127.4 MB / 134.9 MB, free: 3.738 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.001034/0.001034, allocations: 180.8 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.83/1.83, allocations: 205.2 MB / 399.5 MB, free: 5.918 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.001/0.001, allocations: 95.48 kB / 476.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.282e-05/2.284e-05, allocations: 4 kB / 0.5466 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1753, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.711/5.886, allocations: 2.132 GB / 2.754 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003955/5.887, allocations: 79.95 kB / 2.754 GB, free: 100 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8216/6.708, allocations: 239.9 MB / 2.988 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/6.708, allocations: 4 kB / 2.988 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.951e-05/6.708, allocations: 8 kB / 2.988 GB, free: 108.5 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00108/6.709, allocations: 0.6858 MB / 2.989 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/6.709, allocations: 8.031 kB / 2.989 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/6.71, allocations: 61.34 kB / 2.989 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/6.71, allocations: 321.1 kB / 2.989 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/6.71, allocations: 15.95 kB / 2.989 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/6.71, allocations: 27.89 kB / 2.989 GB, free: 107.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004576/6.711, allocations: 321.4 kB / 2.99 GB, free: 107 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/6.711, allocations: 326.1 kB / 2.99 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/6.711, allocations: 4 kB / 2.99 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/6.711, allocations: 0 / 2.99 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/6.711, allocations: 8 kB / 2.99 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/6.713, allocations: 1.467 MB / 2.991 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/6.713, allocations: 263.5 kB / 2.992 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/6.713, allocations: 153.3 kB / 2.992 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/6.713, allocations: 8.266 kB / 2.992 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/6.713, allocations: 38.94 kB / 2.992 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/6.713, allocations: 0 / 2.992 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.001804/6.715, allocations: 1.021 MB / 2.993 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/6.715, allocations: 55.41 kB / 2.993 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/6.716, allocations: 216.4 kB / 2.993 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/6.716, allocations: 25.7 kB / 2.993 GB, free: 103.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/6.716, allocations: 208.1 kB / 2.993 GB, free: 103 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/6.716, allocations: 130 kB / 2.993 GB, free: 102.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/6.716, allocations: 0 / 2.993 GB, free: 102.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.024e-05/6.716, allocations: 338.8 kB / 2.994 GB, free: 102.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/6.716, allocations: 132.8 kB / 2.994 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/6.716, allocations: 176.1 kB / 2.994 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/6.716, allocations: 153.8 kB / 2.994 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/6.716, allocations: 0 / 2.994 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005239/6.717, allocations: 435.5 kB / 2.995 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/6.717, allocations: 4 kB / 2.995 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/6.717, allocations: 0 / 2.995 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/6.717, allocations: 49.81 kB / 2.995 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/6.717, allocations: 87.84 kB / 2.995 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/6.719, allocations: 2.524 MB / 2.997 GB, free: 98.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/6.719, allocations: 24.14 kB / 2.997 GB, free: 98.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/6.719, allocations: 19.94 kB / 2.997 GB, free: 98.71 MB / 0.6355 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.0001638/6.719, allocations: 125.8 kB / 2.997 GB, free: 98.58 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004888/6.72, allocations: 367.1 kB / 2.998 GB, free: 98.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/6.72, allocations: 31.62 kB / 2.998 GB, free: 98.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.937e-05/6.72, allocations: 43.39 kB / 2.998 GB, free: 98.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/6.72, allocations: 4 kB / 2.998 GB, free: 98.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/6.72, allocations: 0 / 2.998 GB, free: 98.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004126/6.72, allocations: 0.5493 MB / 2.998 GB, free: 97.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/6.721, allocations: 0.9442 MB / 2.999 GB, free: 96.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/6.721, allocations: 192 / 2.999 GB, free: 96.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/6.722, allocations: 95.89 kB / 2.999 GB, free: 96.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/6.722, allocations: 4 kB / 2.999 GB, free: 96.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/6.722, allocations: 15.98 kB / 2.999 GB, free: 96.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/6.722, allocations: 4 kB / 2.999 GB, free: 96.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/6.722, allocations: 3.953 kB / 2.999 GB, free: 96.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/6.723, allocations: 0.7051 MB / 3 GB, free: 95.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/6.723, allocations: 160.7 kB / 3 GB, free: 95.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/6.723, allocations: 4 kB / 3 GB, free: 95.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/6.723, allocations: 19.97 kB / 3 GB, free: 95.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/6.723, allocations: 31.92 kB / 3 GB, free: 95.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/6.723, allocations: 19.98 kB / 3 GB, free: 95.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001219/6.723, allocations: 172.5 kB / 3 GB, free: 95.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/6.723, allocations: 0 / 3 GB, free: 95.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007265/6.724, allocations: 176 kB / 3.001 GB, free: 95.04 MB / 0.6355 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.002046/6.726, allocations: 2.73 MB / 3.003 GB, free: 92.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006147/6.727, allocations: 0.5227 MB / 3.004 GB, free: 91.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/6.727, allocations: 0 / 3.004 GB, free: 91.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/6.727, allocations: 171.8 kB / 3.004 GB, free: 91.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009221/6.728, allocations: 169.4 kB / 3.004 GB, free: 91.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/6.729, allocations: 0.8561 MB / 3.005 GB, free: 90.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/6.73, allocations: 0.8314 MB / 3.006 GB, free: 89.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004004/6.73, allocations: 95.2 kB / 3.006 GB, free: 89.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/6.73, allocations: 115.4 kB / 3.006 GB, free: 89.5 MB / 0.6355 GB Notification: Performance of SimCode: time 3.51e-07/6.73, allocations: 4 kB / 3.006 GB, free: 89.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/6.766, allocations: 18.41 MB / 3.024 GB, free: 71.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/6.766, allocations: 146.7 kB / 3.024 GB, free: 70.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/9.26, allocations: 0 / 3.024 GB, free: 70.91 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTestImplementation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTestImplementation.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe 2>&1)