Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.0007925/0.0007925, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001224/0.002017, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007064/0.0007064, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009108/0.001617, allocations: 479.5 kB / 11.83 MB, free: 2.34 MB / 13.93 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.049/1.049, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.088/1.137, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.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.5928/0.5928, allocations: 110.3 MB / 354.5 MB, free: 12.3 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.05893/0.6518, allocations: 34.96 MB / 389.4 MB, free: 9.262 MB / 378.7 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: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 390.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.276e-05, allocations: 2.312 kB / 390.8 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003252/0.003265, allocations: 3.528 MB / 394.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 8.187e-05/0.003347, allocations: 51.73 kB / 394.3 MB, free: 4.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.003364, allocations: 0 / 394.3 MB, free: 4.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.334e-05/0.003417, allocations: 8 kB / 394.3 MB, free: 4.316 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.003472, allocations: 19.84 kB / 394.4 MB, free: 4.297 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.0039, allocations: 223 kB / 394.6 MB, free: 4.078 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.003985, allocations: 35.84 kB / 394.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.004022, allocations: 4 kB / 394.6 MB, free: 4.039 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.004081, allocations: 27.97 kB / 394.6 MB, free: 4.012 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.004144, allocations: 11.92 kB / 394.7 MB, free: 4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.004155, allocations: 4 kB / 394.7 MB, free: 3.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.004399, allocations: 143.5 kB / 394.8 MB, free: 3.855 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.004435, allocations: 7.938 kB / 394.8 MB, free: 3.848 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.343e-05/0.004449, allocations: 4 kB / 394.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.004624, allocations: 111.7 kB / 394.9 MB, free: 3.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.004634, allocations: 0 / 394.9 MB, free: 3.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004635, allocations: 4 kB / 394.9 MB, free: 3.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.004646, allocations: 0 / 394.9 MB, free: 3.73 MB / 378.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.0003225/0.004968, allocations: 272.4 kB / 395.2 MB, free: 3.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.004998, allocations: 8.031 kB / 395.2 MB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.005029, allocations: 4.938 kB / 395.2 MB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.656e-05/0.005106, allocations: 101.8 kB / 395.3 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.005152, allocations: 55.97 kB / 395.4 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.005166, allocations: 4.375 kB / 395.4 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/0.005265, allocations: 87.41 kB / 395.4 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.005271, allocations: 192 / 395.4 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.00528, allocations: 3.938 kB / 395.5 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.005301, allocations: 0 / 395.5 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.75e-05/0.005318, allocations: 8 kB / 395.5 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.005631, allocations: 201.9 kB / 395.7 MB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.005665, allocations: 26.55 kB / 395.7 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-06/0.005674, allocations: 4.859 kB / 395.7 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.964e-05/0.005734, allocations: 35.97 kB / 395.7 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.005756, allocations: 38.5 kB / 395.8 MB, free: 2.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.005757, allocations: 0 / 395.8 MB, free: 2.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 8.726e-05/0.005844, allocations: 33.7 kB / 395.8 MB, free: 2.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.005874, allocations: 55.34 kB / 395.8 MB, free: 2.676 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.005934, allocations: 118.8 kB / 396 MB, free: 2.547 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.005945, allocations: 29.7 kB / 396 MB, free: 2.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.00598, allocations: 80.14 kB / 396.1 MB, free: 2.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.509e-06/0.005984, allocations: 3.953 kB / 396.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.006006, allocations: 17.7 kB / 396.1 MB, free: 2.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.006077, allocations: 322.8 kB / 396.4 MB, free: 2.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-06/0.006083, allocations: 0 / 396.4 MB, free: 2.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.495e-05/0.006098, allocations: 17.72 kB / 396.4 MB, free: 2.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.006122, allocations: 24.53 kB / 396.4 MB, free: 2.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.006125, allocations: 4 kB / 396.5 MB, free: 2.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.442e-05/0.006169, allocations: 41.62 kB / 396.5 MB, free: 1.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.00618, allocations: 7.938 kB / 396.5 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.006186, allocations: 4 kB / 396.5 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.006198, allocations: 0 / 396.5 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.482e-05/0.006233, allocations: 4 kB / 396.5 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.006237, allocations: 3.984 kB / 396.5 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.337e-05/0.006251, allocations: 4 kB / 396.5 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.006258, allocations: 0 / 396.5 MB, free: 1.949 MB / 378.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 4.744e-05/0.006306, allocations: 120.7 kB / 396.6 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.00632, allocations: 7.922 kB / 396.6 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.887e-05/0.006399, allocations: 117 kB / 396.8 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.694e-05/0.006436, allocations: 176.3 kB / 396.9 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.692e-05/0.006473, allocations: 188.2 kB / 397.1 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.784e-05/0.00651, allocations: 180.3 kB / 397.3 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.00663, allocations: 325.3 kB / 397.6 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/0.006651, allocations: 101 kB / 397.7 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.006921, allocations: 109 kB / 397.8 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.006948, allocations: 112.9 kB / 397.9 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-05/0.006985, allocations: 180.3 kB / 398.1 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.007021, allocations: 188.1 kB / 398.3 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.476e-05/0.007066, allocations: 176.3 kB / 398.5 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.761e-05/0.007104, allocations: 184.2 kB / 398.6 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.173e-05/0.007186, allocations: 303.8 kB / 398.9 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.007229, allocations: 180.5 kB / 399.1 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.007309, allocations: 112.9 kB / 399.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.007348, allocations: 184.2 kB / 399.4 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.00737, allocations: 109 kB / 399.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.789e-05/0.007388, allocations: 12.84 kB / 399.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007388, allocations: 0 / 399.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.007554, allocations: 39.88 kB / 399.6 MB, free: 14.73 MB / 394.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.0001825/0.007736, allocations: 215.4 kB / 399.8 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.225e-05/0.007788, allocations: 20.84 kB / 399.8 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.007792, allocations: 0 / 399.8 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.007796, allocations: 3.938 kB / 399.8 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.008021, allocations: 0.5184 MB / 400.3 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.008624, allocations: 175 kB / 400.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.711e-05/0.008652, allocations: 55.36 kB / 400.5 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.464e-05/0.008676, allocations: 8.188 kB / 400.5 MB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.008735, allocations: 59.34 kB / 400.6 MB, free: 13.61 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.008736, allocations: 4 kB / 400.6 MB, free: 13.61 MB / 394.7 MB Notification: Performance of Templates: time 0.002586/0.01132, allocations: 1.436 MB / 402 MB, free: 12.17 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1913083847612143]