Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.0007562/0.0007561, allocations: 90.75 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.0008234/0.0008235, 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.337/1.337, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.02/1.02, allocations: 143.4 MB / 434.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003067, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1654, allocations: 83.42 MB / 0.5975 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4245/0.5899, allocations: 134 MB / 0.7284 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001166/0.5901, allocations: 51.64 kB / 0.7285 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.5901, allocations: 0 / 0.7285 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.391e-05/0.5902, allocations: 4.781 kB / 0.7285 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.5903, allocations: 7.078 kB / 0.7285 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.5906, allocations: 92.36 kB / 0.7286 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.5907, allocations: 42.27 kB / 0.7286 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.5907, allocations: 5.938 kB / 0.7286 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.5908, allocations: 19.69 kB / 0.7287 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.5908, allocations: 9.094 kB / 0.7287 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.5909, allocations: 0.9375 kB / 0.7287 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.591, allocations: 49.77 kB / 0.7287 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.5911, allocations: 13.53 kB / 0.7287 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.5911, allocations: 29.31 kB / 0.7288 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.24e-05/0.5912, allocations: 33.91 kB / 0.7288 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5912, allocations: 0 / 0.7288 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5912, allocations: 0 / 0.7288 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.5912, allocations: 4 kB / 0.7288 GB, free: 15.61 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.0003097/0.5916, allocations: 328.7 kB / 0.7291 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.5916, allocations: 8.781 kB / 0.7291 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.5916, allocations: 36.48 kB / 0.7291 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.5918, allocations: 19.55 kB / 0.7292 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.572e-05/0.5919, allocations: 165.6 kB / 0.7293 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.592, allocations: 32.66 kB / 0.7294 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.592, allocations: 1.531 kB / 0.7294 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.5921, allocations: 55.66 kB / 0.7294 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.5922, allocations: 0 / 0.7294 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.5922, allocations: 0.7031 kB / 0.7294 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.5922, allocations: 4.281 kB / 0.7294 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.5922, allocations: 17.19 kB / 0.7294 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.5926, allocations: 264.8 kB / 0.7297 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.08e-05/0.5926, allocations: 15.61 kB / 0.7297 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.5927, allocations: 10.47 kB / 0.7297 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.5927, allocations: 1.031 kB / 0.7297 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.5927, allocations: 32.83 kB / 0.7297 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5927, allocations: 0 / 0.7297 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001154/0.5928, allocations: 44.94 kB / 0.7298 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.5929, allocations: 52.41 kB / 0.7298 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.593, allocations: 109.1 kB / 0.7299 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.593, allocations: 27.08 kB / 0.73 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.593, allocations: 90.41 kB / 0.73 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.593, allocations: 4.812 kB / 0.73 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.593, allocations: 0 / 0.73 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.5931, allocations: 313.6 kB / 0.7303 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.5932, allocations: 7.844 kB / 0.7304 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.5932, allocations: 29.52 kB / 0.7304 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.258e-05/0.5932, allocations: 5.938 kB / 0.7304 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5932, allocations: 0 / 0.7304 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.055e-05/0.5933, allocations: 56.64 kB / 0.7304 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.5933, allocations: 6.656 kB / 0.7305 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5934, allocations: 5.859 kB / 0.7305 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5934, allocations: 1.875 kB / 0.7305 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.5934, allocations: 7.703 kB / 0.7305 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.5934, allocations: 5.109 kB / 0.7305 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.5935, allocations: 5.25 kB / 0.7305 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.5935, allocations: 2.828 kB / 0.7305 GB, free: 13.85 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.332e-05/0.5936, allocations: 112.8 kB / 0.7306 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.5936, allocations: 5.641 kB / 0.7306 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.794e-05/0.5936, allocations: 4.891 kB / 0.7306 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.5936, allocations: 5.656 kB / 0.7306 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5936, allocations: 0.6094 kB / 0.7306 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5936, allocations: 6.953 kB / 0.7306 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.5939, allocations: 344.1 kB / 0.7309 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5939, allocations: 3.297 kB / 0.7309 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.5939, allocations: 1.125 kB / 0.7309 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5939, allocations: 1.281 kB / 0.7309 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.5939, allocations: 0.6094 kB / 0.7309 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5939, allocations: 7.984 kB / 0.7309 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5939, allocations: 1.062 kB / 0.731 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.077e-05/0.594, allocations: 61.45 kB / 0.731 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.5941, allocations: 79.53 kB / 0.7311 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.5941, allocations: 3.984 kB / 0.7311 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.5942, allocations: 5.5 kB / 0.7311 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.5942, allocations: 9.594 kB / 0.7311 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.5942, allocations: 5.062 kB / 0.7311 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.061e-05/0.5942, allocations: 82.62 kB / 0.7312 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5942, allocations: 0 / 0.7312 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001859/0.5944, allocations: 5.688 kB / 0.7312 GB, free: 13.07 MB / 0.5606 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 () * Number of clocked 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.0002963/0.5947, allocations: 0.5986 MB / 0.7318 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.923e-05/0.5948, allocations: 13.78 kB / 0.7318 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5948, allocations: 1.031 kB / 0.7318 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/0.5948, allocations: 1.125 kB / 0.7318 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.595, allocations: 8.234 kB / 0.7318 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.5953, allocations: 154.1 kB / 0.7319 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.5956, allocations: 0.6799 MB / 0.7326 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.513e-05/0.5956, allocations: 6.109 kB / 0.7326 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.5957, allocations: 9.172 kB / 0.7326 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.5957, allocations: 0 / 0.7326 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01076/0.6064, allocations: 1.177 MB / 0.7338 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.6067, allocations: 225.4 kB / 0.734 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.235, allocations: 0 / 0.734 GB, free: 11.29 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: