Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.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.Air.Examples.PerfectGasTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation",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.7338/0.7338, allocations: 127.4 MB / 134.9 MB, free: 3.711 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.001109/0.001109, allocations: 184.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.932/1.932, allocations: 205.2 MB / 399.5 MB, free: 5.938 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.001177/0.001177, allocations: 91.5 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.097e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.187, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.45/12.64, allocations: 4.57 GB / 5.191 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/12.64, allocations: 88.62 kB / 5.191 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9368/13.58, allocations: 251.8 MB / 5.437 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.597e-06/13.58, allocations: 3.938 kB / 5.437 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.296e-05/13.58, allocations: 12 kB / 5.437 GB, free: 14.68 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002532/13.58, allocations: 0.7527 MB / 5.438 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.55e-05/13.58, allocations: 12.03 kB / 5.438 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/13.58, allocations: 55.47 kB / 5.438 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/13.58, allocations: 330.2 kB / 5.438 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/13.58, allocations: 12 kB / 5.438 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/13.58, allocations: 23.91 kB / 5.439 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006253/13.58, allocations: 353.4 kB / 5.439 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/13.58, allocations: 334.1 kB / 5.439 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/13.58, allocations: 4 kB / 5.439 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/13.58, allocations: 0 / 5.439 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/13.58, allocations: 12 kB / 5.439 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/13.59, allocations: 1.474 MB / 5.441 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/13.59, allocations: 263.5 kB / 5.441 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/13.59, allocations: 140.8 kB / 5.441 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/13.59, allocations: 8.531 kB / 5.441 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/13.59, allocations: 42.56 kB / 5.441 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/13.59, allocations: 0 / 5.441 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41): time 0.00264/13.59, allocations: 1.252 MB / 5.442 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/13.59, allocations: 55.41 kB / 5.442 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/13.59, allocations: 220.4 kB / 5.443 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/13.59, allocations: 25.7 kB / 5.443 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/13.59, allocations: 200.1 kB / 5.443 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/13.59, allocations: 149.9 kB / 5.443 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/13.59, allocations: 0 / 5.443 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/13.59, allocations: 334.8 kB / 5.443 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/13.59, allocations: 148.8 kB / 5.443 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/13.59, allocations: 195.3 kB / 5.444 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/13.59, allocations: 184.7 kB / 5.444 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/13.59, allocations: 0 / 5.444 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007919/13.59, allocations: 0.502 MB / 5.444 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/13.59, allocations: 8 kB / 5.444 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/13.59, allocations: 3.938 kB / 5.444 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/13.59, allocations: 94.61 kB / 5.444 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/13.59, allocations: 111.9 kB / 5.444 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/13.59, allocations: 4.001 MB / 5.448 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/13.6, allocations: 23.83 kB / 5.448 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/13.6, allocations: 16.09 kB / 5.448 GB, free: 2.672 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: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002276/13.6, allocations: 121.7 kB / 5.448 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007013/13.6, allocations: 447.6 kB / 5.449 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/13.6, allocations: 31.62 kB / 5.449 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/13.6, allocations: 39.41 kB / 5.449 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/13.6, allocations: 4 kB / 5.449 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/13.6, allocations: 7.953 kB / 5.449 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006262/13.6, allocations: 0.6278 MB / 5.45 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/13.6, allocations: 1.039 MB / 5.451 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/13.6, allocations: 0 / 5.451 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006752/13.6, allocations: 124 kB / 5.451 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/13.6, allocations: 52.81 kB / 5.451 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/13.6, allocations: 11.92 kB / 5.451 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4759/14.08, allocations: 1.493 MB / 5.452 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/14.08, allocations: 1.25 kB / 5.452 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/14.08, allocations: 0.7809 MB / 5.453 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/14.08, allocations: 164.5 kB / 5.453 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/14.08, allocations: 4.938 kB / 5.453 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/14.08, allocations: 25.31 kB / 5.453 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/14.08, allocations: 31.73 kB / 5.453 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/14.08, allocations: 20.25 kB / 5.453 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002508/14.08, allocations: 176.2 kB / 5.453 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.4e-07/14.08, allocations: 0.8438 kB / 5.453 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001159/14.08, allocations: 189.8 kB / 5.454 GB, free: 152.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003299/14.08, allocations: 2.726 MB / 5.456 GB, free: 151.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001119/14.08, allocations: 0.6856 MB / 5.457 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/14.08, allocations: 4.438 kB / 5.457 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004885/14.08, allocations: 307 kB / 5.457 GB, free: 150.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/14.09, allocations: 167.9 kB / 5.457 GB, free: 150.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/14.09, allocations: 0.9484 MB / 5.458 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/14.09, allocations: 0.8349 MB / 5.459 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004388/14.09, allocations: 89.69 kB / 5.459 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/14.09, allocations: 118 kB / 5.459 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/14.09, allocations: 0 / 5.459 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05/14.14, allocations: 18.85 MB / 5.478 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/14.14, allocations: 171 kB / 5.478 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/16.84, allocations: 1.719 kB / 5.478 GB, free: 149.4 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTestImplementation.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)