Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.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.AirProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties",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.7452/0.7452, allocations: 127.4 MB / 134.9 MB, free: 3.734 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.001203/0.001203, allocations: 184.9 kB / 164.7 MB, free: 6.527 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.775/1.775, allocations: 205.2 MB / 399.5 MB, free: 5.926 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.0008636/0.0008636, allocations: 94.41 kB / 476.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.705e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.176, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.597/5.773, allocations: 2.161 GB / 2.783 GB, free: 71.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/5.774, allocations: 79.23 kB / 2.783 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1052/5.879, allocations: 51.23 MB / 2.833 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/5.879, allocations: 0 / 2.833 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.419e-05/5.879, allocations: 8 kB / 2.833 GB, free: 19.21 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001014/5.88, allocations: 0.5653 MB / 2.833 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/5.88, allocations: 19.91 kB / 2.833 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/5.881, allocations: 143.6 kB / 2.833 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/5.882, allocations: 214.8 kB / 2.834 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/5.882, allocations: 8 kB / 2.834 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/5.882, allocations: 11.95 kB / 2.834 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004771/5.882, allocations: 312.7 kB / 2.834 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/5.883, allocations: 286.6 kB / 2.834 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/5.883, allocations: 0 / 2.834 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/5.883, allocations: 0 / 2.834 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/5.883, allocations: 20.36 kB / 2.834 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/5.884, allocations: 1.131 MB / 2.835 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/5.884, allocations: 170.5 kB / 2.835 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.338e-05/5.884, allocations: 76.77 kB / 2.836 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/5.885, allocations: 360.3 kB / 2.836 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/5.885, allocations: 38.56 kB / 2.836 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/5.885, allocations: 0 / 2.836 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0004171/5.885, allocations: 165.7 kB / 2.836 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/5.885, allocations: 55.52 kB / 2.836 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/5.885, allocations: 149.2 kB / 2.836 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/5.885, allocations: 29.7 kB / 2.836 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/5.885, allocations: 163.8 kB / 2.836 GB, free: 15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/5.885, allocations: 66.95 kB / 2.837 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/5.886, allocations: 0 / 2.837 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.489e-05/5.886, allocations: 322.8 kB / 2.837 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/5.886, allocations: 68.23 kB / 2.837 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/5.886, allocations: 152.5 kB / 2.837 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/5.886, allocations: 85.44 kB / 2.837 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/5.886, allocations: 3.953 kB / 2.837 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003497/5.886, allocations: 246.7 kB / 2.837 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/5.886, allocations: 11.19 kB / 2.837 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/5.886, allocations: 4 kB / 2.837 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/5.886, allocations: 8 kB / 2.837 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/5.887, allocations: 55.91 kB / 2.837 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/5.887, allocations: 7.938 kB / 2.837 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/5.887, allocations: 27.67 kB / 2.837 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/5.887, allocations: 16 kB / 2.837 GB, free: 13.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 prepare postOptimizeDAE: time 7.573e-05/5.887, allocations: 113.6 kB / 2.838 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002648/5.887, allocations: 164.3 kB / 2.838 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/5.887, allocations: 11.91 kB / 2.838 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/5.888, allocations: 214 kB / 2.838 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/5.888, allocations: 0 / 2.838 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/5.888, allocations: 0 / 2.838 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/5.888, allocations: 0 / 2.838 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/5.888, allocations: 471.6 kB / 2.838 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/5.888, allocations: 4.031 kB / 2.838 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/5.888, allocations: 39.86 kB / 2.838 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/5.888, allocations: 0 / 2.838 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/5.888, allocations: 11.98 kB / 2.838 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/5.888, allocations: 7.984 kB / 2.838 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/5.888, allocations: 0 / 2.838 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/5.889, allocations: 284.4 kB / 2.839 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-05/5.889, allocations: 116.8 kB / 2.839 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/5.889, allocations: 3.953 kB / 2.839 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/5.889, allocations: 7.984 kB / 2.839 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/5.889, allocations: 19.92 kB / 2.839 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/5.889, allocations: 11.98 kB / 2.839 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.803e-05/5.889, allocations: 115.3 kB / 2.839 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/5.889, allocations: 0 / 2.839 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006083/5.89, allocations: 139.9 kB / 2.839 GB, free: 12.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00118/5.891, allocations: 1.507 MB / 2.841 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002672/5.891, allocations: 168.3 kB / 2.841 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/5.891, allocations: 0 / 2.841 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/5.891, allocations: 75.86 kB / 2.841 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/5.892, allocations: 49.61 kB / 2.841 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/5.892, allocations: 308.3 kB / 2.841 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/5.893, allocations: 0.7404 MB / 2.842 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002791/5.893, allocations: 53.75 kB / 2.842 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.362e-05/5.893, allocations: 51.42 kB / 2.842 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/5.893, allocations: 4 kB / 2.842 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.366/6.259, allocations: 9.585 MB / 2.851 GB, free: 200.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/6.259, allocations: 130.7 kB / 2.851 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/8.228, allocations: 0.8438 kB / 2.851 GB, free: 200.2 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirProperties.pipe 2>&1)