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.7201/0.7201, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 180.9 kB / 169.7 MB, free: 1.734 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.82/1.82, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.001465/0.001465, allocations: 95.67 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.554e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.188, allocations: 76.76 MB / 0.6282 GB, free: 9.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.709/5.897, allocations: 2.133 GB / 2.761 GB, free: 148 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/5.897, allocations: 75.64 kB / 2.761 GB, free: 148 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8672/6.765, allocations: 242.6 MB / 2.998 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/6.765, allocations: 0 / 2.998 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.273e-05/6.765, allocations: 10.88 kB / 2.998 GB, free: 168.6 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.001121/6.766, allocations: 0.6794 MB / 2.999 GB, free: 168 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/6.766, allocations: 10.31 kB / 2.999 GB, free: 168 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.157e-05/6.766, allocations: 69.38 kB / 2.999 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/6.766, allocations: 56.66 kB / 2.999 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/6.767, allocations: 332.4 kB / 2.999 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/6.767, allocations: 27.81 kB / 2.999 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/6.767, allocations: 38.31 kB / 2.999 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/6.767, allocations: 391.3 kB / 2.999 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/6.767, allocations: 4 kB / 2.999 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/6.768, allocations: 16 kB / 2.999 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/6.768, allocations: 12 kB / 2.999 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/6.768, allocations: 334.9 kB / 3 GB, free: 167 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/6.77, allocations: 1.566 MB / 3.001 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/6.77, allocations: 276 kB / 3.002 GB, free: 165 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/6.771, allocations: 165.2 kB / 3.002 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/6.771, allocations: 7.25 kB / 3.002 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/6.771, allocations: 38.84 kB / 3.002 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/6.771, allocations: 0 / 3.002 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.002196/6.773, allocations: 1.156 MB / 3.003 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/6.773, allocations: 55.41 kB / 3.003 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/6.773, allocations: 279 kB / 3.003 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/6.773, allocations: 37.7 kB / 3.003 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/6.773, allocations: 199.6 kB / 3.003 GB, free: 163 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/6.773, allocations: 140.8 kB / 3.004 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/6.773, allocations: 12 kB / 3.004 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.582e-05/6.773, allocations: 342.8 kB / 3.004 GB, free: 162.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/6.774, allocations: 136.8 kB / 3.004 GB, free: 162.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/6.774, allocations: 185 kB / 3.004 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/6.774, allocations: 169.7 kB / 3.004 GB, free: 162 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/6.774, allocations: 0 / 3.004 GB, free: 162 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005803/6.775, allocations: 467.5 kB / 3.005 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/6.775, allocations: 6.812 kB / 3.005 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/6.775, allocations: 4 kB / 3.005 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/6.775, allocations: 53.81 kB / 3.005 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/6.775, allocations: 87.91 kB / 3.005 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/6.776, allocations: 2.616 MB / 3.008 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/6.777, allocations: 36.22 kB / 3.008 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/6.777, allocations: 12 kB / 3.008 GB, free: 158.5 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 () * 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.0001038/6.777, allocations: 127.8 kB / 3.008 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/6.777, allocations: 43.53 kB / 3.008 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/6.777, allocations: 51.09 kB / 3.008 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/6.777, allocations: 7.953 kB / 3.008 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/6.777, allocations: 0 / 3.008 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005043/6.778, allocations: 0.5688 MB / 3.008 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/6.779, allocations: 1.044 MB / 3.009 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/6.779, allocations: 4 kB / 3.009 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/6.779, allocations: 83.89 kB / 3.009 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/6.779, allocations: 4 kB / 3.009 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/6.779, allocations: 12 kB / 3.01 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/6.779, allocations: 8.172 kB / 3.01 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/6.779, allocations: 12 kB / 3.01 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/6.78, allocations: 0.7293 MB / 3.01 GB, free: 155.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/6.78, allocations: 156.7 kB / 3.01 GB, free: 155.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/6.78, allocations: 16.09 kB / 3.01 GB, free: 155.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/6.781, allocations: 31.97 kB / 3.01 GB, free: 155.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/6.781, allocations: 27.95 kB / 3.01 GB, free: 155.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/6.781, allocations: 27.88 kB / 3.01 GB, free: 155.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001735/6.781, allocations: 219.1 kB / 3.011 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/6.781, allocations: 0 / 3.011 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007671/6.782, allocations: 223.5 kB / 3.011 GB, free: 154.9 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.002016/6.784, allocations: 2.629 MB / 3.013 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006667/6.784, allocations: 0.5561 MB / 3.014 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/6.784, allocations: 0 / 3.014 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/6.785, allocations: 171.8 kB / 3.014 GB, free: 151.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/6.786, allocations: 245.4 kB / 3.014 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/6.787, allocations: 0.8928 MB / 3.015 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/6.787, allocations: 0.8314 MB / 3.016 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004081/6.788, allocations: 99.23 kB / 3.016 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/6.788, allocations: 119.4 kB / 3.016 GB, free: 149.3 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/6.788, allocations: 4 kB / 3.016 GB, free: 149.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04554/6.834, allocations: 31.71 MB / 3.047 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001252/6.834, allocations: 188 kB / 3.047 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/9.916, allocations: 0 / 3.047 GB, free: 117.4 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)