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.7473/0.7473, allocations: 127.4 MB / 134.9 MB, free: 3.719 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.001184/0.001184, allocations: 180.9 kB / 164.7 MB, free: 6.512 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.875/1.875, allocations: 205.2 MB / 399.5 MB, free: 5.84 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.001049/0.001049, allocations: 90.06 kB / 476.7 MB, free: 8.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.866e-05, allocations: 0 / 0.5466 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.187, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.775/5.962, allocations: 2.128 GB / 2.75 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/5.962, allocations: 75.95 kB / 2.75 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06462/6.027, allocations: 36.54 MB / 2.785 GB, free: 68.72 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/6.027, allocations: 0 / 2.785 GB, free: 68.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.023e-06/6.027, allocations: 0 / 2.785 GB, free: 68.72 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002921/6.027, allocations: 338.5 kB / 2.786 GB, free: 68.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/6.027, allocations: 8.031 kB / 2.786 GB, free: 68.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/6.027, allocations: 23.97 kB / 2.786 GB, free: 68.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.728e-05/6.027, allocations: 163.1 kB / 2.786 GB, free: 68.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/6.028, allocations: 33.69 kB / 2.786 GB, free: 68.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/6.028, allocations: 4 kB / 2.786 GB, free: 68.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.979e-05/6.028, allocations: 16 kB / 2.786 GB, free: 68.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.655e-05/6.028, allocations: 53.56 kB / 2.786 GB, free: 68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/6.028, allocations: 0 / 2.786 GB, free: 68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/6.028, allocations: 0 / 2.786 GB, free: 68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/6.028, allocations: 4 kB / 2.786 GB, free: 67.99 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/6.028, allocations: 331.3 kB / 2.786 GB, free: 67.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.332e-05/6.028, allocations: 18.52 kB / 2.786 GB, free: 67.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/6.028, allocations: 12.81 kB / 2.786 GB, free: 67.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/6.028, allocations: 0 / 2.786 GB, free: 67.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/6.028, allocations: 38.62 kB / 2.786 GB, free: 67.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/6.028, allocations: 0 / 2.786 GB, free: 67.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001919/6.029, allocations: 45.62 kB / 2.786 GB, free: 67.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/6.029, allocations: 51.41 kB / 2.786 GB, free: 67.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/6.029, allocations: 93 kB / 2.786 GB, free: 67.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/6.029, allocations: 25.7 kB / 2.787 GB, free: 67.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/6.029, allocations: 91.98 kB / 2.787 GB, free: 67.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/6.029, allocations: 3.906 kB / 2.787 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/6.029, allocations: 0 / 2.787 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.507e-05/6.029, allocations: 318.9 kB / 2.787 GB, free: 66.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/6.029, allocations: 8 kB / 2.787 GB, free: 66.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/6.029, allocations: 18.58 kB / 2.787 GB, free: 66.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.877e-05/6.029, allocations: 8 kB / 2.787 GB, free: 66.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/6.029, allocations: 0 / 2.787 GB, free: 66.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.919e-05/6.029, allocations: 53.56 kB / 2.787 GB, free: 66.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/6.029, allocations: 12.05 kB / 2.787 GB, free: 66.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/6.029, allocations: 0 / 2.787 GB, free: 66.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/6.029, allocations: 4 kB / 2.787 GB, free: 66.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.682e-05/6.029, allocations: 11.92 kB / 2.787 GB, free: 66.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/6.029, allocations: 4 kB / 2.787 GB, free: 66.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/6.029, allocations: 0 / 2.787 GB, free: 66.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/6.029, allocations: 0 / 2.787 GB, free: 66.73 MB / 0.6355 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 () * 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 4.832e-05/6.029, allocations: 109 kB / 2.787 GB, free: 66.62 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.568e-05/6.029, allocations: 33.7 kB / 2.787 GB, free: 66.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/6.029, allocations: 11.89 kB / 2.787 GB, free: 66.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/6.029, allocations: 7.75 kB / 2.787 GB, free: 66.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/6.029, allocations: 3.984 kB / 2.787 GB, free: 66.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/6.029, allocations: 0 / 2.787 GB, free: 66.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/6.029, allocations: 0 / 2.787 GB, free: 66.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/6.029, allocations: 327.2 kB / 2.787 GB, free: 66.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/6.029, allocations: 0 / 2.787 GB, free: 66.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/6.029, allocations: 0 / 2.787 GB, free: 66.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/6.03, allocations: 4.031 kB / 2.787 GB, free: 66.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/6.03, allocations: 3.938 kB / 2.787 GB, free: 66.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/6.03, allocations: 4 kB / 2.788 GB, free: 66.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/6.03, allocations: 0 / 2.788 GB, free: 66.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.68e-05/6.03, allocations: 53.12 kB / 2.788 GB, free: 66.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/6.03, allocations: 81.34 kB / 2.788 GB, free: 66.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/6.03, allocations: 4 kB / 2.788 GB, free: 66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/6.03, allocations: 32 / 2.788 GB, free: 66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/6.03, allocations: 7.984 kB / 2.788 GB, free: 66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/6.03, allocations: 3.938 kB / 2.788 GB, free: 65.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.823e-05/6.03, allocations: 87.27 kB / 2.788 GB, free: 65.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/6.03, allocations: 0 / 2.788 GB, free: 65.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000258/6.03, allocations: 32 kB / 2.788 GB, free: 65.88 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0007259/6.031, allocations: 1.137 MB / 2.789 GB, free: 64.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.404e-05/6.031, allocations: 11.94 kB / 2.789 GB, free: 64.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/6.031, allocations: 0 / 2.789 GB, free: 64.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-06/6.031, allocations: 4 kB / 2.789 GB, free: 64.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/6.031, allocations: 7.438 kB / 2.789 GB, free: 64.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/6.031, allocations: 90.03 kB / 2.789 GB, free: 64.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/6.031, allocations: 0.677 MB / 2.79 GB, free: 63.87 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.111e-05/6.031, allocations: 11.98 kB / 2.79 GB, free: 63.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/6.031, allocations: 11.42 kB / 2.79 GB, free: 63.85 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/6.031, allocations: 3.938 kB / 2.79 GB, free: 63.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/6.054, allocations: 5.212 MB / 2.795 GB, free: 58.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/6.055, allocations: 152.4 kB / 2.795 GB, free: 58.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/7.73, allocations: 0 / 2.795 GB, free: 58.44 MB / 0.6355 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)