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.7557/0.7557, allocations: 128.7 MB / 143.7 MB, free: 2.34 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.00118/0.00118, allocations: 182.4 kB / 173.7 MB, free: 6.137 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.975/1.975, allocations: 205.4 MB / 409 MB, free: 10.52 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.001158/0.001158, allocations: 94.91 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004013, allocations: 12.62 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2107, allocations: 76.77 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.385/5.596, allocations: 2.133 GB / 2.768 GB, free: 242 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/5.596, allocations: 80.33 kB / 2.768 GB, free: 242 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8497/6.446, allocations: 243 MB / 3.005 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.096e-06/6.446, allocations: 0 / 3.005 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.896e-05/6.446, allocations: 8.188 kB / 3.005 GB, free: 163.9 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.001752/6.447, allocations: 0.7149 MB / 3.006 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/6.448, allocations: 10.97 kB / 3.006 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/6.448, allocations: 77.62 kB / 3.006 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003274/6.448, allocations: 59.47 kB / 3.006 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/6.449, allocations: 325.8 kB / 3.007 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/6.449, allocations: 27.25 kB / 3.007 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/6.449, allocations: 36.72 kB / 3.007 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006912/6.449, allocations: 394.8 kB / 3.007 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/6.449, allocations: 3.438 kB / 3.007 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/6.449, allocations: 18.47 kB / 3.007 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/6.449, allocations: 7.438 kB / 3.007 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005404/6.45, allocations: 350.6 kB / 3.007 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/6.452, allocations: 1.566 MB / 3.009 GB, free: 162.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/6.453, allocations: 284.2 kB / 3.009 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/6.453, allocations: 4.469 kB / 3.009 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/6.453, allocations: 47.7 kB / 3.009 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.575e-06/6.453, allocations: 2 kB / 3.009 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.002827/6.455, allocations: 1.433 MB / 3.011 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/6.456, allocations: 64.45 kB / 3.011 GB, free: 161.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/6.456, allocations: 279.1 kB / 3.011 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/6.456, allocations: 35.17 kB / 3.011 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/6.456, allocations: 191.1 kB / 3.011 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/6.456, allocations: 139.6 kB / 3.011 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/6.456, allocations: 11.53 kB / 3.011 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/6.456, allocations: 340.8 kB / 3.012 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/6.456, allocations: 136.8 kB / 3.012 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/6.457, allocations: 193.5 kB / 3.012 GB, free: 161 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/6.457, allocations: 167.4 kB / 3.012 GB, free: 161 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/6.457, allocations: 3.344 kB / 3.012 GB, free: 161 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006671/6.458, allocations: 465.5 kB / 3.013 GB, free: 161 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/6.458, allocations: 5.812 kB / 3.013 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/6.458, allocations: 6.078 kB / 3.013 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001296/6.458, allocations: 38.47 kB / 3.013 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/6.458, allocations: 92.94 kB / 3.013 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/6.46, allocations: 2.631 MB / 3.015 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/6.46, allocations: 34.17 kB / 3.015 GB, free: 158.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/6.46, allocations: 13.67 kB / 3.015 GB, free: 158.4 MB / 0.6511 GB 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 () * Number of clocked 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.0002362/6.46, allocations: 187.1 kB / 3.016 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/6.461, allocations: 36.42 kB / 3.016 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/6.461, allocations: 49.3 kB / 3.016 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/6.461, allocations: 4.219 kB / 3.016 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/6.461, allocations: 5.328 kB / 3.016 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000554/6.461, allocations: 0.5776 MB / 3.016 GB, free: 158 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/6.463, allocations: 1.048 MB / 3.017 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/6.463, allocations: 0 / 3.017 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/6.463, allocations: 92.53 kB / 3.017 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/6.463, allocations: 2.969 kB / 3.017 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/6.463, allocations: 16.17 kB / 3.017 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/6.463, allocations: 3.344 kB / 3.017 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/6.463, allocations: 5.672 kB / 3.017 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008646/6.464, allocations: 0.7499 MB / 3.018 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/6.464, allocations: 156.8 kB / 3.018 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/6.465, allocations: 16.77 kB / 3.018 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/6.465, allocations: 31.92 kB / 3.018 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/6.465, allocations: 27.61 kB / 3.018 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/6.465, allocations: 20.89 kB / 3.018 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002377/6.465, allocations: 225.4 kB / 3.019 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/6.465, allocations: 0 / 3.019 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009687/6.466, allocations: 221 kB / 3.019 GB, free: 157.1 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 () * Number of clocked 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.002771/6.469, allocations: 2.617 MB / 3.021 GB, free: 155.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009371/6.47, allocations: 0.5679 MB / 3.022 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/6.47, allocations: 0 / 3.022 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002723/6.47, allocations: 178.7 kB / 3.022 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/6.471, allocations: 240.3 kB / 3.022 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/6.475, allocations: 3.172 MB / 3.025 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/6.475, allocations: 0.8317 MB / 3.026 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004861/6.476, allocations: 103.6 kB / 3.026 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/6.476, allocations: 121.2 kB / 3.026 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/6.476, allocations: 0 / 3.026 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06107/6.537, allocations: 28.81 MB / 3.054 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/6.537, allocations: 207.2 kB / 3.055 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/9.403, allocations: 0 / 3.055 GB, free: 152.5 MB / 0.6511 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)