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.759/0.759, allocations: 128.7 MB / 143.7 MB, free: 2.309 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.001242/0.001242, allocations: 184.4 kB / 173.7 MB, free: 6.109 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.737/1.737, allocations: 205.4 MB / 409 MB, free: 10.49 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.001197/0.001197, allocations: 95.41 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005495/0.0005501, allocations: 11.08 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1734, allocations: 76.76 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.171/6.344, allocations: 2.161 GB / 2.797 GB, free: 154.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/6.345, allocations: 80.14 kB / 2.797 GB, free: 154.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.108/6.453, allocations: 52.05 MB / 2.848 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.507e-06/6.453, allocations: 3.938 kB / 2.848 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.893e-05/6.453, allocations: 11.94 kB / 2.848 GB, free: 110.8 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001596/6.454, allocations: 0.5752 MB / 2.848 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.407e-05/6.454, allocations: 12.03 kB / 2.848 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/6.455, allocations: 53.3 kB / 2.848 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/6.456, allocations: 137.6 kB / 2.848 GB, free: 110 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/6.456, allocations: 225.2 kB / 2.849 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/6.456, allocations: 15.25 kB / 2.849 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/6.456, allocations: 19.45 kB / 2.849 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/6.457, allocations: 342.2 kB / 2.849 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/6.457, allocations: 0 / 2.849 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/6.457, allocations: 7.625 kB / 2.849 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/6.457, allocations: 20.11 kB / 2.849 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/6.457, allocations: 308.6 kB / 2.849 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/6.459, allocations: 1.208 MB / 2.851 GB, free: 108 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/6.46, allocations: 186.5 kB / 2.851 GB, free: 107.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004418/6.46, allocations: 457 kB / 2.851 GB, free: 107.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/6.46, allocations: 37.81 kB / 2.851 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/6.46, allocations: 0 / 2.851 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0006249/6.461, allocations: 322.9 kB / 2.851 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/6.461, allocations: 58.91 kB / 2.852 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/6.461, allocations: 203 kB / 2.852 GB, free: 106.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/6.461, allocations: 29.2 kB / 2.852 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/6.461, allocations: 146.8 kB / 2.852 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/6.461, allocations: 81.3 kB / 2.852 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/6.461, allocations: 3.5 kB / 2.852 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.521e-05/6.461, allocations: 329.8 kB / 2.852 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/6.461, allocations: 70.91 kB / 2.852 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/6.461, allocations: 162.2 kB / 2.852 GB, free: 105.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/6.462, allocations: 89.83 kB / 2.853 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/6.462, allocations: 0 / 2.853 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004572/6.462, allocations: 286.4 kB / 2.853 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/6.462, allocations: 13 kB / 2.853 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/6.462, allocations: 4 kB / 2.853 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/6.462, allocations: 4 kB / 2.853 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/6.462, allocations: 55.91 kB / 2.853 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/6.462, allocations: 11.98 kB / 2.853 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/6.463, allocations: 38.83 kB / 2.853 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/6.463, allocations: 15.61 kB / 2.853 GB, free: 105.4 MB / 0.6511 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 () * Number of clocked 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 0.0001352/6.463, allocations: 148.6 kB / 2.853 GB, free: 105.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/6.463, allocations: 23.81 kB / 2.853 GB, free: 105.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/6.463, allocations: 252.2 kB / 2.853 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/6.463, allocations: 4 kB / 2.853 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/6.464, allocations: 0 / 2.853 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/6.464, allocations: 7.969 kB / 2.853 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/6.464, allocations: 0.5186 MB / 2.854 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/6.464, allocations: 4.031 kB / 2.854 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/6.464, allocations: 27.98 kB / 2.854 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/6.464, allocations: 0 / 2.854 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/6.464, allocations: 7.125 kB / 2.854 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/6.464, allocations: 0 / 2.854 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/6.464, allocations: 3.953 kB / 2.854 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/6.465, allocations: 323.6 kB / 2.854 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/6.465, allocations: 119.9 kB / 2.854 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/6.465, allocations: 0 / 2.854 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/6.465, allocations: 15.48 kB / 2.854 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/6.465, allocations: 7.984 kB / 2.854 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/6.465, allocations: 11.94 kB / 2.854 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001113/6.465, allocations: 158 kB / 2.855 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.21e-07/6.465, allocations: 4 kB / 2.855 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006971/6.466, allocations: 161.9 kB / 2.855 GB, free: 103.8 MB / 0.6511 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 () * Number of clocked 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.001564/6.468, allocations: 1.464 MB / 2.856 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003344/6.468, allocations: 190.9 kB / 2.856 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/6.468, allocations: 4 kB / 2.856 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.99e-05/6.468, allocations: 80.47 kB / 2.856 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/6.469, allocations: 86.11 kB / 2.856 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/6.471, allocations: 3.275 MB / 2.86 GB, free: 98.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/6.471, allocations: 0.7444 MB / 2.86 GB, free: 98.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003411/6.471, allocations: 58.2 kB / 2.86 GB, free: 98.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/6.471, allocations: 60.22 kB / 2.861 GB, free: 97.98 MB / 0.6511 GB Notification: Performance of SimCode: time 5.61e-07/6.471, allocations: 0 / 2.861 GB, free: 97.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/6.506, allocations: 16.05 MB / 2.876 GB, free: 82.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/6.506, allocations: 167 kB / 2.876 GB, free: 81.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/8.687, allocations: 0 / 2.876 GB, free: 81.85 MB / 0.6511 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)