Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.7673/0.7673, allocations: 128.7 MB / 143.7 MB, free: 2.164 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.001537/0.001537, allocations: 186.3 kB / 173.8 MB, free: 6.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 409 MB, free: 10.48 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.001564/0.001564, allocations: 94.53 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 9.625 kB / 0.5604 GB, free: 97.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2045, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.53/5.735, allocations: 2.128 GB / 2.764 GB, free: 171 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/5.735, allocations: 78.59 kB / 2.764 GB, free: 171 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06465/5.8, allocations: 37.25 MB / 2.8 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.834e-06/5.8, allocations: 0 / 2.8 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.544e-06/5.8, allocations: 0 / 2.8 GB, free: 154.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003114/5.8, allocations: 347.2 kB / 2.801 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/5.8, allocations: 12.03 kB / 2.801 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/5.8, allocations: 34.55 kB / 2.801 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/5.8, allocations: 24.02 kB / 2.801 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.883e-05/5.8, allocations: 163.1 kB / 2.801 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/5.8, allocations: 25.7 kB / 2.801 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/5.801, allocations: 4 kB / 2.801 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/5.801, allocations: 49.5 kB / 2.801 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/5.801, allocations: 4 kB / 2.801 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/5.801, allocations: 4 kB / 2.801 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/5.801, allocations: 0 / 2.801 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5e-05/5.801, allocations: 23.3 kB / 2.801 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/5.801, allocations: 256.1 kB / 2.801 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.42e-05/5.801, allocations: 26.45 kB / 2.801 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/5.801, allocations: 93.16 kB / 2.801 GB, free: 153 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/5.801, allocations: 30.56 kB / 2.801 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/5.801, allocations: 0 / 2.801 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002194/5.802, allocations: 56.38 kB / 2.801 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/5.802, allocations: 51.41 kB / 2.801 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/5.802, allocations: 92.98 kB / 2.802 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/5.802, allocations: 29.83 kB / 2.802 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/5.802, allocations: 99.91 kB / 2.802 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/5.802, allocations: 3.906 kB / 2.802 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/5.802, allocations: 0 / 2.802 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.73e-05/5.802, allocations: 310.8 kB / 2.802 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/5.802, allocations: 4 kB / 2.802 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/5.802, allocations: 26.38 kB / 2.802 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/5.802, allocations: 15.06 kB / 2.802 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/5.802, allocations: 0 / 2.802 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.452e-05/5.802, allocations: 57.02 kB / 2.802 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/5.802, allocations: 8 kB / 2.802 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/5.802, allocations: 96 / 2.802 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/5.802, allocations: 3.984 kB / 2.802 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/5.802, allocations: 8 kB / 2.802 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/5.802, allocations: 0 / 2.802 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/5.802, allocations: 15.95 kB / 2.802 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/5.802, allocations: 4 kB / 2.802 GB, free: 152.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 6.017e-05/5.802, allocations: 109.7 kB / 2.802 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/5.802, allocations: 7.953 kB / 2.802 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/5.802, allocations: 3.125 kB / 2.802 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/5.802, allocations: 0 / 2.802 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/5.802, allocations: 0 / 2.802 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/5.802, allocations: 0 / 2.802 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/5.802, allocations: 374.4 kB / 2.803 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/5.802, allocations: 0 / 2.803 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/5.803, allocations: 0 / 2.803 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/5.803, allocations: 4 kB / 2.803 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/5.803, allocations: 0 / 2.803 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/5.803, allocations: 0 / 2.803 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/5.803, allocations: 0 / 2.803 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.214e-05/5.803, allocations: 95.34 kB / 2.803 GB, free: 151.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/5.803, allocations: 77.11 kB / 2.803 GB, free: 151.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/5.803, allocations: 4 kB / 2.803 GB, free: 151.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/5.803, allocations: 4 kB / 2.803 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/5.803, allocations: 3.984 kB / 2.803 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/5.803, allocations: 0 / 2.803 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.711e-05/5.803, allocations: 86.5 kB / 2.803 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.11e-07/5.803, allocations: 0 / 2.803 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003105/5.803, allocations: 38.42 kB / 2.803 GB, free: 151.2 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 (2): * Single equations (assignments): 2 * 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.0007656/5.804, allocations: 1.143 MB / 2.804 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.271e-05/5.804, allocations: 19.92 kB / 2.804 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/5.804, allocations: 3.938 kB / 2.804 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/5.804, allocations: 4 kB / 2.804 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/5.804, allocations: 11.66 kB / 2.804 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/5.805, allocations: 163.2 kB / 2.804 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/5.805, allocations: 0.6809 MB / 2.805 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.708e-05/5.805, allocations: 3.984 kB / 2.805 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/5.805, allocations: 15.38 kB / 2.805 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/5.805, allocations: 0 / 2.805 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/5.824, allocations: 10.17 MB / 2.815 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/5.824, allocations: 196.9 kB / 2.815 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/7.722, allocations: 0 / 2.815 GB, free: 138.9 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)