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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.021/1.021, allocations: 143.4 MB / 434.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.000307, allocations: 15.97 kB / 0.5161 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1575, allocations: 83.41 MB / 0.5975 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4438/0.6014, allocations: 134.5 MB / 0.7288 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001316/0.6016, allocations: 49.45 kB / 0.7289 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.953e-05/0.6016, allocations: 0 / 0.7289 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.26e-05/0.6017, allocations: 5.766 kB / 0.7289 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.6018, allocations: 13.36 kB / 0.7289 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.6024, allocations: 148.6 kB / 0.729 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.103e-05/0.6025, allocations: 42.56 kB / 0.7291 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.731e-05/0.6025, allocations: 2.766 kB / 0.7291 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.776e-05/0.6025, allocations: 22.89 kB / 0.7291 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.6026, allocations: 14.2 kB / 0.7291 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.6026, allocations: 1.031 kB / 0.7291 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.6029, allocations: 99 kB / 0.7292 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.603, allocations: 18.94 kB / 0.7292 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.603, allocations: 29.36 kB / 0.7292 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.6032, allocations: 54.66 kB / 0.7293 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6032, allocations: 0 / 0.7293 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6032, allocations: 0.9375 kB / 0.7293 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.6032, allocations: 4 kB / 0.7293 GB, free: 15.41 MB / 0.5606 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.0003191/0.6035, allocations: 332.8 kB / 0.7296 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.6036, allocations: 9.75 kB / 0.7296 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.6036, allocations: 36.86 kB / 0.7297 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.6039, allocations: 23.09 kB / 0.7297 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.604, allocations: 165.4 kB / 0.7298 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.6041, allocations: 29.69 kB / 0.7299 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.6041, allocations: 1.188 kB / 0.7299 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.6042, allocations: 52.36 kB / 0.7299 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.6043, allocations: 0 / 0.7299 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.6043, allocations: 0.5625 kB / 0.7299 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.6043, allocations: 3.75 kB / 0.7299 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.341e-05/0.6044, allocations: 21.05 kB / 0.7299 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.6047, allocations: 260.9 kB / 0.7302 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.267e-05/0.6048, allocations: 33.28 kB / 0.7302 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.6048, allocations: 7.094 kB / 0.7302 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.605, allocations: 91.94 kB / 0.7303 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.605, allocations: 36.16 kB / 0.7304 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.605, allocations: 0 / 0.7304 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002323/0.6052, allocations: 52.48 kB / 0.7304 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.6053, allocations: 57.11 kB / 0.7305 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/0.6053, allocations: 102 kB / 0.7306 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.6054, allocations: 31.48 kB / 0.7306 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.6054, allocations: 93.81 kB / 0.7307 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.6054, allocations: 5.719 kB / 0.7307 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.6054, allocations: 0 / 0.7307 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.6055, allocations: 312.9 kB / 0.731 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.6056, allocations: 12.11 kB / 0.731 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.6056, allocations: 21.45 kB / 0.731 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.6056, allocations: 6.094 kB / 0.731 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6056, allocations: 2.438 kB / 0.731 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.144e-05/0.6057, allocations: 57.09 kB / 0.7311 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6057, allocations: 10.38 kB / 0.7311 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6058, allocations: 1.875 kB / 0.7311 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.6058, allocations: 1.031 kB / 0.7311 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.6058, allocations: 10.59 kB / 0.7311 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.6058, allocations: 6.156 kB / 0.7311 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.6059, allocations: 6.062 kB / 0.7311 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.6059, allocations: 1.125 kB / 0.7311 GB, free: 13.54 MB / 0.5606 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.596e-05/0.606, allocations: 110.4 kB / 0.7312 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.606, allocations: 3 kB / 0.7312 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.606, allocations: 13.34 kB / 0.7312 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.606, allocations: 0 / 0.7312 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.606, allocations: 0.6562 kB / 0.7312 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.606, allocations: 5.203 kB / 0.7312 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.6063, allocations: 359 kB / 0.7316 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6063, allocations: 1.953 kB / 0.7316 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.6064, allocations: 5.656 kB / 0.7316 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.6064, allocations: 9.172 kB / 0.7316 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.6064, allocations: 1 kB / 0.7316 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6064, allocations: 3.953 kB / 0.7316 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6064, allocations: 2.094 kB / 0.7316 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.508e-05/0.6065, allocations: 74.33 kB / 0.7317 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.6065, allocations: 79.19 kB / 0.7318 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.6066, allocations: 1.766 kB / 0.7318 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.6066, allocations: 8.094 kB / 0.7318 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.6067, allocations: 7.797 kB / 0.7318 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.6067, allocations: 1.031 kB / 0.7318 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.6067, allocations: 87.72 kB / 0.7319 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6067, allocations: 0 / 0.7319 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001899/0.6069, allocations: 7.219 kB / 0.7319 GB, free: 12.74 MB / 0.5606 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.0003497/0.6073, allocations: 0.6096 MB / 0.7325 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.164e-05/0.6074, allocations: 11.3 kB / 0.7325 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6074, allocations: 1.219 kB / 0.7325 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.6e-05/0.6074, allocations: 12.19 kB / 0.7325 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.6076, allocations: 18.92 kB / 0.7325 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.608, allocations: 152.6 kB / 0.7326 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.6082, allocations: 0.6769 MB / 0.7333 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.371e-05/0.6083, allocations: 9.734 kB / 0.7333 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.6083, allocations: 9.719 kB / 0.7333 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.6083, allocations: 0 / 0.7333 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.6192, allocations: 1.252 MB / 0.7345 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/0.6194, allocations: 202.4 kB / 0.7347 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.25, allocations: 3.188 kB / 0.7347 GB, free: 10.89 MB / 0.5606 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) Environment - environmentSimulation: