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.0009767/0.0009767, allocations: 80.39 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001004/0.001004, allocations: 165.4 kB / 24.28 MB, free: 280 kB / 18.57 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 0.9871/0.9871, allocations: 177.1 MB / 204.6 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.6754/0.6754, allocations: 110.3 MB / 371.3 MB, free: 12.49 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 475.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.609e-05, allocations: 4.328 kB / 475.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00385/0.003876, allocations: 4.169 MB / 479.3 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001328/0.004009, allocations: 159.7 kB / 479.5 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.004042, allocations: 0 / 479.5 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.004177, allocations: 2.625 kB / 479.5 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.272e-05/0.004259, allocations: 14.62 kB / 479.5 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.004564, allocations: 88.25 kB / 479.6 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.542e-05/0.004649, allocations: 35.31 kB / 479.6 MB, free: 12.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.004693, allocations: 6.078 kB / 479.6 MB, free: 12.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.004743, allocations: 17.52 kB / 479.6 MB, free: 12.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.00481, allocations: 15.14 kB / 479.7 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.004823, allocations: 0.9688 kB / 479.7 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.004958, allocations: 57.62 kB / 479.7 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.005006, allocations: 10.34 kB / 479.7 MB, free: 12.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.005029, allocations: 9.469 kB / 479.7 MB, free: 12.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.005157, allocations: 62.19 kB / 479.8 MB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005159, allocations: 0 / 479.8 MB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00516, allocations: 0 / 479.8 MB, free: 12.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.005165, allocations: 2 kB / 479.8 MB, free: 12.23 MB / 410.7 MB 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.0002859/0.005451, allocations: 365.7 kB / 480.2 MB, free: 11.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.005484, allocations: 8.156 kB / 480.2 MB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.005527, allocations: 6.922 kB / 480.2 MB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.778e-05/0.005595, allocations: 111.8 kB / 480.3 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.005646, allocations: 51.97 kB / 480.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.005657, allocations: 3.875 kB / 480.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.005772, allocations: 84.91 kB / 480.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.005779, allocations: 192 / 480.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.00579, allocations: 3.938 kB / 480.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.005817, allocations: 3.422 kB / 480.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.91e-05/0.005847, allocations: 5.125 kB / 480.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.006228, allocations: 262.5 kB / 480.7 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.503e-05/0.006263, allocations: 29.66 kB / 480.7 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.00628, allocations: 15.62 kB / 480.7 MB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.006321, allocations: 9.344 kB / 480.7 MB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.00634, allocations: 36.53 kB / 480.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.006341, allocations: 0 / 480.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.006464, allocations: 34.45 kB / 480.8 MB, free: 11.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.006484, allocations: 56.16 kB / 480.9 MB, free: 11.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.573e-05/0.006539, allocations: 166.6 kB / 481 MB, free: 10.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.006547, allocations: 27.14 kB / 481 MB, free: 10.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.00676, allocations: 133.9 kB / 481.2 MB, free: 26.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-06/0.006766, allocations: 7.938 kB / 481.2 MB, free: 26.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.006788, allocations: 21.39 kB / 481.2 MB, free: 26.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.006884, allocations: 498.2 kB / 481.7 MB, free: 26.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.006895, allocations: 2.562 kB / 481.7 MB, free: 26.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.006913, allocations: 25.72 kB / 481.7 MB, free: 26.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.372e-05/0.006936, allocations: 20.72 kB / 481.7 MB, free: 26.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006938, allocations: 0 / 481.7 MB, free: 26.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.958e-05/0.006988, allocations: 54 kB / 481.8 MB, free: 26.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.007, allocations: 5.906 kB / 481.8 MB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.007004, allocations: 0 / 481.8 MB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.007021, allocations: 3.344 kB / 481.8 MB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.774e-05/0.007058, allocations: 5.969 kB / 481.8 MB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.007064, allocations: 5.031 kB / 481.8 MB, free: 26.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.007076, allocations: 3.953 kB / 481.8 MB, free: 26.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.007084, allocations: 11.09 kB / 481.8 MB, free: 26.14 MB / 426.7 MB 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 5.942e-05/0.007143, allocations: 157.2 kB / 482 MB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.007158, allocations: 7.938 kB / 482 MB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.518e-05/0.007253, allocations: 161.9 kB / 482.1 MB, free: 25.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.733e-05/0.00731, allocations: 271.5 kB / 482.4 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-05/0.007371, allocations: 271.9 kB / 482.7 MB, free: 25.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.643e-05/0.007427, allocations: 264.1 kB / 482.9 MB, free: 25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.007585, allocations: 498 kB / 483.4 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.332e-05/0.007618, allocations: 152.2 kB / 483.6 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.007654, allocations: 157 kB / 483.7 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-05/0.007717, allocations: 275.9 kB / 484 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.007773, allocations: 267.5 kB / 484.3 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.445e-05/0.007827, allocations: 271 kB / 484.5 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.336e-05/0.00788, allocations: 264.8 kB / 484.8 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.007999, allocations: 451.4 kB / 485.2 MB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.008038, allocations: 149.7 kB / 485.4 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.008107, allocations: 270.9 kB / 485.6 MB, free: 22.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.008205, allocations: 152.4 kB / 485.8 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.008265, allocations: 268 kB / 486 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.008297, allocations: 151.6 kB / 486.2 MB, free: 21.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.345e-05/0.008341, allocations: 127.8 kB / 486.3 MB, free: 21.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008341, allocations: 0.9062 kB / 486.3 MB, free: 21.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001635/0.008505, allocations: 17.25 kB / 486.3 MB, free: 21.52 MB / 426.7 MB 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.0001365/0.008641, allocations: 238.3 kB / 486.6 MB, free: 21.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.154e-05/0.008703, allocations: 24.58 kB / 486.6 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008704, allocations: 0 / 486.6 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.008705, allocations: 0 / 486.6 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.00904, allocations: 0.7042 MB / 487.3 MB, free: 20.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.009419, allocations: 244 kB / 487.5 MB, free: 20.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.461e-05/0.009444, allocations: 51.36 kB / 487.6 MB, free: 20.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.868e-05/0.009472, allocations: 9.078 kB / 487.6 MB, free: 20.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.009487, allocations: 15.72 kB / 487.6 MB, free: 20.27 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009488, allocations: 2.594 kB / 487.6 MB, free: 20.27 MB / 426.7 MB Notification: Performance of Templates: time 0.002112/0.0116, allocations: 0.6848 MB / 488.3 MB, free: 20.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.612431411864236]