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.001643/0.001643, allocations: 116.1 kB / 17.16 MB, free: 6 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.001806/0.001806, allocations: 209.5 kB / 20.13 MB, free: 3.051 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.552/1.552, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9614/0.9614, allocations: 144.9 MB / 454.5 MB, free: 10.01 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.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.001941/0.001941, allocations: 63.59 kB / 0.6287 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1715, allocations: 87.84 MB / 0.7145 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006638/0.1781, allocations: 4.11 MB / 0.7185 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002633/0.1784, allocations: 159.5 kB / 0.7186 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.1784, allocations: 0 / 0.7186 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.1785, allocations: 3.938 kB / 0.7186 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.438e-05/0.1786, allocations: 11.98 kB / 0.7186 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.179, allocations: 86.31 kB / 0.7187 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.1791, allocations: 35.84 kB / 0.7188 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.1792, allocations: 7.938 kB / 0.7188 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.472e-05/0.1792, allocations: 11.98 kB / 0.7188 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.61e-05/0.1793, allocations: 11.97 kB / 0.7188 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1793, allocations: 4 kB / 0.7188 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.1795, allocations: 79.78 kB / 0.7189 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.1796, allocations: 11.94 kB / 0.7189 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.1796, allocations: 11.97 kB / 0.7189 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1798, allocations: 68.08 kB / 0.719 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1798, allocations: 0 / 0.719 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.564e-06/0.1798, allocations: 3.938 kB / 0.719 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1798, allocations: 0 / 0.719 GB, free: 7.113 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.000536/0.1804, allocations: 335.4 kB / 0.7193 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1804, allocations: 12.03 kB / 0.7193 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2e-05/0.1804, allocations: 4.188 kB / 0.7193 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.1805, allocations: 30.75 kB / 0.7193 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.1805, allocations: 0.9375 kB / 0.7193 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1807, allocations: 168.3 kB / 0.7195 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.1808, allocations: 30.25 kB / 0.7195 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1808, allocations: 3.938 kB / 0.7195 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.181, allocations: 49.69 kB / 0.7196 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.181, allocations: 0 / 0.7196 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.181, allocations: 7.984 kB / 0.7196 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.181, allocations: 0 / 0.7196 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.1811, allocations: 19.92 kB / 0.7196 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.1816, allocations: 334 kB / 0.7199 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/0.1817, allocations: 18.58 kB / 0.7199 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.1817, allocations: 4.859 kB / 0.7199 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.1818, allocations: 85.17 kB / 0.72 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.1818, allocations: 30.56 kB / 0.72 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1818, allocations: 4 kB / 0.72 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001689/0.182, allocations: 37.62 kB / 0.7201 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.182, allocations: 55.41 kB / 0.7201 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.1821, allocations: 105.8 kB / 0.7202 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1822, allocations: 25.7 kB / 0.7203 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.1822, allocations: 88.22 kB / 0.7203 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.762e-06/0.1822, allocations: 7.953 kB / 0.7204 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.1823, allocations: 17.66 kB / 0.7204 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.1824, allocations: 326.8 kB / 0.7207 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.1824, allocations: 0 / 0.7207 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.1825, allocations: 13.72 kB / 0.7207 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.1825, allocations: 29.66 kB / 0.7207 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1825, allocations: 0 / 0.7207 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.461e-05/0.1826, allocations: 49.62 kB / 0.7208 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1826, allocations: 5.719 kB / 0.7208 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1826, allocations: 4 kB / 0.7208 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1826, allocations: 0 / 0.7208 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.614e-05/0.1827, allocations: 7.984 kB / 0.7208 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1827, allocations: 0 / 0.7208 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.1827, allocations: 4 kB / 0.7208 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1827, allocations: 3.938 kB / 0.7208 GB, free: 4.949 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 7.929e-05/0.1828, allocations: 109.9 kB / 0.7209 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.1828, allocations: 4 kB / 0.7209 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.1829, allocations: 124.9 kB / 0.721 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-05/0.183, allocations: 180.5 kB / 0.7212 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-05/0.1831, allocations: 180.3 kB / 0.7214 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.903e-05/0.1832, allocations: 188.2 kB / 0.7215 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.1835, allocations: 413.1 kB / 0.7219 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.634e-05/0.1835, allocations: 104.9 kB / 0.722 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.1836, allocations: 109 kB / 0.7221 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.27e-05/0.1837, allocations: 176.3 kB / 0.7223 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.92e-05/0.1837, allocations: 184.2 kB / 0.7225 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.512e-05/0.1838, allocations: 180.3 kB / 0.7227 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.701e-05/0.1839, allocations: 184.2 kB / 0.7228 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1841, allocations: 307.8 kB / 0.7231 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1842, allocations: 182 kB / 0.7233 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1843, allocations: 180.3 kB / 0.7235 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1845, allocations: 116.9 kB / 0.7236 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.1846, allocations: 176.3 kB / 0.7238 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.1846, allocations: 105 kB / 0.7239 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.1847, allocations: 95.14 kB / 0.7239 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1847, allocations: 0 / 0.7239 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002569/0.185, allocations: 15.94 kB / 0.724 GB, free: 1.477 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.0006277/0.1856, allocations: 0.8321 MB / 0.7248 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.538e-05/0.1857, allocations: 7.938 kB / 0.7248 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1857, allocations: 0 / 0.7248 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.1857, allocations: 8.125 kB / 0.7248 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.1862, allocations: 455.7 kB / 0.7252 GB, free: 152 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1874, allocations: 1.325 MB / 0.7265 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1878, allocations: 0.6729 MB / 0.7272 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.107e-05/0.1878, allocations: 7.984 kB / 0.7272 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.1878, allocations: 11.44 kB / 0.7272 GB, free: 14.02 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1878, allocations: 0 / 0.7272 GB, free: 14.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.2063, allocations: 1.539 MB / 0.7287 GB, free: 12.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.396, allocations: 16.88 kB / 0.7287 GB, free: 12.61 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.299706674006302] Failed to read output from testmodel.py, exit status != 0: 8.518977697007358 8.540138848 8.35724203 Calling exit ...