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.0009237/0.0009237, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009254/0.0009254, allocations: 177.3 kB / 15.94 MB, free: 228 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.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.058/1.058, allocations: 143.3 MB / 434.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 8 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1672, allocations: 83.42 MB / 0.5973 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.51/0.6772, allocations: 125.2 MB / 0.7196 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.6775, allocations: 137.2 kB / 0.7198 GB, free: 7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.6776, allocations: 0 / 0.7198 GB, free: 7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.6777, allocations: 5.281 kB / 0.7198 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.6777, allocations: 7.266 kB / 0.7198 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.6784, allocations: 153.1 kB / 0.7199 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.6784, allocations: 18.8 kB / 0.72 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.6785, allocations: 5.859 kB / 0.72 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.533e-05/0.6785, allocations: 13.95 kB / 0.72 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.6786, allocations: 5.672 kB / 0.72 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.6786, allocations: 2.156 kB / 0.72 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.679, allocations: 111.1 kB / 0.7201 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.679, allocations: 9.109 kB / 0.7201 GB, free: 6.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.679, allocations: 32.02 kB / 0.7201 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.6792, allocations: 49.39 kB / 0.7202 GB, free: 6.809 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6792, allocations: 0 / 0.7202 GB, free: 6.809 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.915e-06/0.6792, allocations: 0 / 0.7202 GB, free: 6.809 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6792, allocations: 0 / 0.7202 GB, free: 6.809 MB / 0.545 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.0004096/0.6797, allocations: 330.6 kB / 0.7205 GB, free: 6.461 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.6797, allocations: 8.469 kB / 0.7205 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.6798, allocations: 38.09 kB / 0.7205 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.6801, allocations: 30.58 kB / 0.7206 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.6803, allocations: 171.4 kB / 0.7207 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/0.6803, allocations: 27.14 kB / 0.7208 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.6804, allocations: 1.375 kB / 0.7208 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.6805, allocations: 51.75 kB / 0.7208 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.6805, allocations: 0 / 0.7208 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.6806, allocations: 1.031 kB / 0.7208 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.6806, allocations: 2.641 kB / 0.7208 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.988e-05/0.6807, allocations: 21.69 kB / 0.7208 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.681, allocations: 260.5 kB / 0.7211 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.195e-05/0.6811, allocations: 29.45 kB / 0.7211 GB, free: 5.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.6812, allocations: 3.297 kB / 0.7211 GB, free: 5.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.6812, allocations: 33.09 kB / 0.7211 GB, free: 5.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6812, allocations: 5.438 kB / 0.7211 GB, free: 5.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002789/0.6815, allocations: 56.44 kB / 0.7212 GB, free: 5.746 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.6816, allocations: 61.08 kB / 0.7213 GB, free: 5.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.6817, allocations: 102.9 kB / 0.7214 GB, free: 5.574 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.6817, allocations: 25.7 kB / 0.7214 GB, free: 5.543 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.6817, allocations: 90.84 kB / 0.7215 GB, free: 5.453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.6818, allocations: 5.656 kB / 0.7215 GB, free: 5.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.6818, allocations: 4 kB / 0.7215 GB, free: 5.445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6819, allocations: 317.7 kB / 0.7218 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.6819, allocations: 5.625 kB / 0.7218 GB, free: 5.129 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.682, allocations: 20.72 kB / 0.7218 GB, free: 5.109 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.682, allocations: 6.797 kB / 0.7218 GB, free: 5.109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.682, allocations: 1.125 kB / 0.7218 GB, free: 5.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.931e-05/0.6821, allocations: 58.8 kB / 0.7219 GB, free: 5.066 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.6821, allocations: 4.281 kB / 0.7219 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6821, allocations: 1.125 kB / 0.7219 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6822, allocations: 5.859 kB / 0.7219 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.6822, allocations: 7 kB / 0.7219 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6822, allocations: 0.5625 kB / 0.7219 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.6823, allocations: 9.766 kB / 0.7219 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.6823, allocations: 1.875 kB / 0.7219 GB, free: 5.055 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.792e-05/0.6824, allocations: 109.3 kB / 0.722 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.6824, allocations: 5.734 kB / 0.722 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.6825, allocations: 5.953 kB / 0.722 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6825, allocations: 1.219 kB / 0.722 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6825, allocations: 4.625 kB / 0.722 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6825, allocations: 0.6094 kB / 0.722 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.6828, allocations: 369 kB / 0.7224 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6829, allocations: 1.125 kB / 0.7224 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.6829, allocations: 5.219 kB / 0.7224 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.6829, allocations: 1.344 kB / 0.7224 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.6829, allocations: 0.7969 kB / 0.7224 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6829, allocations: 17.42 kB / 0.7224 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6829, allocations: 0 / 0.7224 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.6831, allocations: 83.69 kB / 0.7225 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.526e-05/0.6831, allocations: 84.16 kB / 0.7226 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.6831, allocations: 9.672 kB / 0.7226 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.6832, allocations: 7.938 kB / 0.7226 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.6833, allocations: 2.281 kB / 0.7226 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.6833, allocations: 5.109 kB / 0.7226 GB, free: 4.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.6833, allocations: 80.25 kB / 0.7227 GB, free: 4.238 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6833, allocations: 1.062 kB / 0.7227 GB, free: 4.238 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001974/0.6835, allocations: 6.531 kB / 0.7227 GB, free: 4.238 MB / 0.545 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.0004528/0.684, allocations: 0.6959 MB / 0.7233 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.21e-05/0.6841, allocations: 23.03 kB / 0.7234 GB, free: 3.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6841, allocations: 0 / 0.7234 GB, free: 3.535 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-05/0.6841, allocations: 9.359 kB / 0.7234 GB, free: 3.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.6843, allocations: 4.938 kB / 0.7234 GB, free: 3.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.6847, allocations: 155.7 kB / 0.7235 GB, free: 3.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.685, allocations: 0.6839 MB / 0.7242 GB, free: 2.676 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.452e-05/0.6851, allocations: 10.61 kB / 0.7242 GB, free: 2.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.6851, allocations: 13.73 kB / 0.7242 GB, free: 2.66 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.6851, allocations: 0 / 0.7242 GB, free: 2.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.6962, allocations: 1.246 MB / 0.7254 GB, free: 2.547 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.6964, allocations: 194.3 kB / 0.7256 GB, free: 2.309 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.401, allocations: 0 / 0.7256 GB, free: 2.309 MB / 0.545 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: