Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 219.8 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9/0.9, allocations: 145 MB / 458.2 MB, free: 15.48 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 73.34 kB / 0.6339 GB, free: 7.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1923, allocations: 87.88 MB / 0.7197 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006743/0.199, allocations: 4.138 MB / 0.7238 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002447/0.1993, allocations: 159.5 kB / 0.7239 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.1993, allocations: 0 / 0.7239 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.1994, allocations: 3.938 kB / 0.7239 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.149e-05/0.1995, allocations: 11.92 kB / 0.7239 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.1999, allocations: 83.75 kB / 0.724 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.2, allocations: 43.83 kB / 0.7241 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.2001, allocations: 0 / 0.7241 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.2001, allocations: 12 kB / 0.7241 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.134e-05/0.2002, allocations: 19.91 kB / 0.7241 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2002, allocations: 0 / 0.7241 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.2005, allocations: 83.78 kB / 0.7242 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.2005, allocations: 7.922 kB / 0.7242 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.2006, allocations: 15.98 kB / 0.7242 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2007, allocations: 63.8 kB / 0.7243 GB, free: 10.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2007, allocations: 0 / 0.7243 GB, free: 10.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2007, allocations: 0 / 0.7243 GB, free: 10.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.2007, allocations: 3.938 kB / 0.7243 GB, free: 10.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004109/0.2011, allocations: 258.3 kB / 0.7245 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2012, allocations: 12.03 kB / 0.7245 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.686e-05/0.2012, allocations: 4.188 kB / 0.7245 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.2012, allocations: 30.75 kB / 0.7246 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.2013, allocations: 0.9375 kB / 0.7246 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2014, allocations: 114.5 kB / 0.7247 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/0.2015, allocations: 51.97 kB / 0.7247 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2015, allocations: 7.938 kB / 0.7247 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2016, allocations: 45.62 kB / 0.7248 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2016, allocations: 0 / 0.7248 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2016, allocations: 0 / 0.7248 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.2016, allocations: 11.98 kB / 0.7248 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.2017, allocations: 15.98 kB / 0.7248 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.2021, allocations: 232 kB / 0.725 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.349e-05/0.2022, allocations: 18.52 kB / 0.725 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.2022, allocations: 8.859 kB / 0.725 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.756e-05/0.2022, allocations: 15.98 kB / 0.7251 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.2023, allocations: 34.56 kB / 0.7251 GB, free: 9.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2023, allocations: 0 / 0.7251 GB, free: 9.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000151/0.2024, allocations: 33.7 kB / 0.7251 GB, free: 9.738 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.2025, allocations: 51.41 kB / 0.7252 GB, free: 9.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.2026, allocations: 101.8 kB / 0.7253 GB, free: 9.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2026, allocations: 25.7 kB / 0.7253 GB, free: 9.535 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.2026, allocations: 88.09 kB / 0.7254 GB, free: 9.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.2027, allocations: 12.02 kB / 0.7254 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.2027, allocations: 21.7 kB / 0.7254 GB, free: 9.406 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2029, allocations: 314.8 kB / 0.7257 GB, free: 9.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.2029, allocations: 4 kB / 0.7257 GB, free: 9.086 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.2029, allocations: 17.72 kB / 0.7257 GB, free: 9.062 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/0.2029, allocations: 21.7 kB / 0.7257 GB, free: 9.035 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2029, allocations: 4 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.85e-05/0.203, allocations: 49.62 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.203, allocations: 4 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2031, allocations: 0 / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2031, allocations: 0 / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.2031, allocations: 8 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2031, allocations: 3.984 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.2031, allocations: 7.938 kB / 0.7258 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2032, allocations: 7.938 kB / 0.7258 GB, free: 8.945 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.924e-05/0.2033, allocations: 113 kB / 0.7259 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.2033, allocations: 0 / 0.7259 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.2034, allocations: 128.8 kB / 0.7261 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.407e-05/0.2035, allocations: 180.3 kB / 0.7262 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.788e-05/0.2036, allocations: 184.2 kB / 0.7264 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.244e-05/0.2037, allocations: 184.2 kB / 0.7266 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.204, allocations: 392.1 kB / 0.727 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.968e-05/0.204, allocations: 101 kB / 0.7271 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.469e-05/0.2041, allocations: 101 kB / 0.7272 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.653e-05/0.2042, allocations: 184.2 kB / 0.7273 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.939e-05/0.2043, allocations: 176.3 kB / 0.7275 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.828e-05/0.2043, allocations: 184.2 kB / 0.7277 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.615e-05/0.2044, allocations: 184.2 kB / 0.7278 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.2046, allocations: 307.6 kB / 0.7281 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.2047, allocations: 105 kB / 0.7282 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.2048, allocations: 192.2 kB / 0.7284 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.205, allocations: 109 kB / 0.7285 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.2051, allocations: 176.3 kB / 0.7287 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.2051, allocations: 104.9 kB / 0.7288 GB, free: 5.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.936e-05/0.2052, allocations: 95.2 kB / 0.7289 GB, free: 5.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2052, allocations: 0 / 0.7289 GB, free: 5.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000262/0.2054, allocations: 15.94 kB / 0.7289 GB, free: 5.609 MB / 0.545 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005477/0.206, allocations: 0.8204 MB / 0.7297 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.997e-05/0.2061, allocations: 11.94 kB / 0.7297 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2061, allocations: 0 / 0.7297 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.2061, allocations: 0 / 0.7297 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.2066, allocations: 467.8 kB / 0.7302 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2078, allocations: 1.325 MB / 0.7315 GB, free: 2.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.2081, allocations: 0.6733 MB / 0.7321 GB, free: 2.176 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.2082, allocations: 11.98 kB / 0.7321 GB, free: 2.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.2082, allocations: 7.438 kB / 0.7321 GB, free: 2.156 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.2082, allocations: 0 / 0.7321 GB, free: 2.156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.2306, allocations: 1.631 MB / 0.7337 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.27, allocations: 8.016 kB / 0.7337 GB, free: 0.6758 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.984034465043806] Failed to read output from testmodel.py, exit status != 0: 11.437630314962007 11.46350576 11.257827105 Calling exit ...