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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 106.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9024/0.9024, allocations: 145.2 MB / 447.9 MB, free: 6.352 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 65.47 kB / 0.62 GB, free: 1.371 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1679, allocations: 86.64 MB / 0.7046 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005748/0.1737, allocations: 4.052 MB / 0.7085 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002255/0.1739, allocations: 155.5 kB / 0.7087 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.1739, allocations: 0 / 0.7087 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.1741, allocations: 7.984 kB / 0.7087 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.1741, allocations: 7.922 kB / 0.7087 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.1745, allocations: 87.69 kB / 0.7088 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.1747, allocations: 31.91 kB / 0.7088 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.1747, allocations: 3.984 kB / 0.7088 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.1747, allocations: 19.88 kB / 0.7088 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.1748, allocations: 15.97 kB / 0.7088 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1748, allocations: 0 / 0.7088 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.175, allocations: 59.81 kB / 0.7089 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.1751, allocations: 3.984 kB / 0.7089 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1751, allocations: 15.92 kB / 0.7089 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1752, allocations: 40.19 kB / 0.7089 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1752, allocations: 0 / 0.7089 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1752, allocations: 0 / 0.7089 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1752, allocations: 3.938 kB / 0.7089 GB, free: 6.156 MB / 0.5294 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.0004435/0.1757, allocations: 343.3 kB / 0.7093 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1757, allocations: 12.03 kB / 0.7093 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.1757, allocations: 30.75 kB / 0.7093 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.1758, allocations: 0.9375 kB / 0.7093 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1759, allocations: 172.4 kB / 0.7095 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.176, allocations: 30.27 kB / 0.7095 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.176, allocations: 4.125 kB / 0.7095 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.1761, allocations: 45.62 kB / 0.7096 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1761, allocations: 0 / 0.7096 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1761, allocations: 0 / 0.7096 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.1761, allocations: 0 / 0.7096 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.1762, allocations: 19.98 kB / 0.7096 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.1767, allocations: 334 kB / 0.7099 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.1767, allocations: 22.52 kB / 0.7099 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.1767, allocations: 4.859 kB / 0.7099 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.612e-05/0.1768, allocations: 85.16 kB / 0.71 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1768, allocations: 38.56 kB / 0.71 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 2.786e-06/0.1768, allocations: 3.984 kB / 0.71 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001383/0.177, allocations: 37.66 kB / 0.7101 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.177, allocations: 51.41 kB / 0.7101 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.1771, allocations: 109.8 kB / 0.7102 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1771, allocations: 29.64 kB / 0.7103 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.1772, allocations: 84.09 kB / 0.7103 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.1772, allocations: 0 / 0.7103 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.1772, allocations: 21.7 kB / 0.7104 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1774, allocations: 322.9 kB / 0.7107 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.1774, allocations: 0 / 0.7107 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.1774, allocations: 17.72 kB / 0.7107 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.1775, allocations: 21.7 kB / 0.7107 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1775, allocations: 0 / 0.7107 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.615e-05/0.1775, allocations: 53.58 kB / 0.7108 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1776, allocations: 12.06 kB / 0.7108 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1776, allocations: 0 / 0.7108 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1776, allocations: 0 / 0.7108 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.081e-05/0.1776, allocations: 7.938 kB / 0.7108 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1776, allocations: 0 / 0.7108 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.1776, allocations: 4 kB / 0.7108 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.1776, allocations: 0 / 0.7108 GB, free: 3.992 MB / 0.5294 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 0.0001097/0.1778, allocations: 117.8 kB / 0.7109 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.1778, allocations: 0 / 0.7109 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.1779, allocations: 124.9 kB / 0.711 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.45e-05/0.178, allocations: 180.2 kB / 0.7112 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001052/0.1781, allocations: 188.2 kB / 0.7114 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.32e-05/0.1782, allocations: 180.2 kB / 0.7115 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.1784, allocations: 413.1 kB / 0.7119 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.231e-05/0.1785, allocations: 105 kB / 0.712 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.1785, allocations: 109 kB / 0.7121 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.397e-05/0.1786, allocations: 180.2 kB / 0.7123 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/0.1787, allocations: 176.3 kB / 0.7125 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.934e-05/0.1788, allocations: 180.2 kB / 0.7126 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.152e-05/0.1788, allocations: 184.2 kB / 0.7128 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.179, allocations: 311.7 kB / 0.7131 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/0.1791, allocations: 178.1 kB / 0.7133 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.675e-05/0.1792, allocations: 188.1 kB / 0.7135 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.1794, allocations: 105 kB / 0.7136 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.1794, allocations: 188.2 kB / 0.7137 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.1795, allocations: 105 kB / 0.7138 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.1795, allocations: 83.27 kB / 0.7139 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1795, allocations: 0 / 0.7139 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002449/0.1798, allocations: 19.88 kB / 0.7139 GB, free: 0.5273 MB / 0.5294 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.0006515/0.1804, allocations: 0.8282 MB / 0.7148 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.764e-05/0.1805, allocations: 15.98 kB / 0.7148 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1805, allocations: 0 / 0.7148 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1805, allocations: 0 / 0.7148 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1809, allocations: 463.8 kB / 0.7152 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1822, allocations: 1.328 MB / 0.7165 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.1826, allocations: 0.6768 MB / 0.7172 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.1826, allocations: 11.94 kB / 0.7172 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.1827, allocations: 7.438 kB / 0.7172 GB, free: 13.06 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1827, allocations: 0 / 0.7172 GB, free: 13.06 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.2066, allocations: 1.536 MB / 0.7187 GB, free: 11.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.107, allocations: 11.86 kB / 0.7187 GB, free: 11.64 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.63799503678456] Failed to read output from testmodel.py, exit status != 0: 8.174395801033825 8.189286416 8.011205198 Calling exit ...