Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.0009751/0.0009751, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002306, allocations: 449.7 kB / 10.37 MB, free: 328 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.001054/0.001054, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002412, allocations: 463.6 kB / 11.71 MB, free: 2.457 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 0.9364/0.9364, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1064/1.043, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.6393/0.6393, allocations: 110.2 MB / 354.2 MB, free: 12.38 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.06313/0.7024, allocations: 34.95 MB / 389.2 MB, free: 9.371 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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 390.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.739e-05, allocations: 2.312 kB / 390.5 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3131/0.3131, allocations: 131.1 MB / 0.5094 GB, free: 5.59 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001509/0.3133, allocations: 59.44 kB / 0.5094 GB, free: 5.539 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.048e-05/0.3133, allocations: 0 / 0.5094 GB, free: 5.539 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 7.685e-05/0.3134, allocations: 7.938 kB / 0.5094 GB, free: 5.531 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-05/0.3134, allocations: 11.92 kB / 0.5094 GB, free: 5.52 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.3141, allocations: 278.3 kB / 0.5097 GB, free: 5.254 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.3141, allocations: 31.86 kB / 0.5097 GB, free: 5.223 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.3142, allocations: 0 / 0.5097 GB, free: 5.223 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.3142, allocations: 23.97 kB / 0.5098 GB, free: 5.199 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.3143, allocations: 15.92 kB / 0.5098 GB, free: 5.184 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.3143, allocations: 4 kB / 0.5098 GB, free: 5.18 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004739/0.3148, allocations: 194.1 kB / 0.51 GB, free: 4.992 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.3148, allocations: 8 kB / 0.51 GB, free: 4.984 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.506e-05/0.3148, allocations: 4 kB / 0.51 GB, free: 4.98 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3151, allocations: 161.8 kB / 0.5101 GB, free: 4.824 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.3151, allocations: 0 / 0.5101 GB, free: 4.824 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3151, allocations: 0 / 0.5101 GB, free: 4.824 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.3151, allocations: 3.938 kB / 0.5101 GB, free: 4.82 MB / 474.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.0003299/0.3154, allocations: 283.1 kB / 0.5104 GB, free: 4.523 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.3155, allocations: 12.03 kB / 0.5104 GB, free: 4.512 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.3155, allocations: 4.938 kB / 0.5104 GB, free: 4.508 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.904e-05/0.3156, allocations: 109.8 kB / 0.5105 GB, free: 4.375 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.3156, allocations: 51.97 kB / 0.5106 GB, free: 4.312 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.3156, allocations: 4.375 kB / 0.5106 GB, free: 4.309 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.3157, allocations: 75.48 kB / 0.5106 GB, free: 4.219 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3157, allocations: 3.938 kB / 0.5107 GB, free: 4.215 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.3157, allocations: 1.5 kB / 0.5107 GB, free: 4.215 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.3158, allocations: 7.938 kB / 0.5107 GB, free: 4.207 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.247e-05/0.3158, allocations: 7.938 kB / 0.5107 GB, free: 4.199 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.3161, allocations: 212.7 kB / 0.5109 GB, free: 3.977 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.418e-05/0.3162, allocations: 22.61 kB / 0.5109 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-06/0.3162, allocations: 4.859 kB / 0.5109 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.3162, allocations: 28.05 kB / 0.5109 GB, free: 3.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3162, allocations: 34.5 kB / 0.511 GB, free: 3.867 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.3162, allocations: 0 / 0.511 GB, free: 3.867 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 8.512e-05/0.3163, allocations: 37.62 kB / 0.511 GB, free: 3.824 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.3164, allocations: 51.41 kB / 0.511 GB, free: 3.762 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.485e-05/0.3164, allocations: 112.2 kB / 0.5111 GB, free: 3.641 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.3164, allocations: 29.83 kB / 0.5112 GB, free: 3.605 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.3165, allocations: 92.02 kB / 0.5113 GB, free: 3.512 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.3165, allocations: 4 kB / 0.5113 GB, free: 3.508 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.3165, allocations: 13.67 kB / 0.5113 GB, free: 3.488 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.3165, allocations: 318.8 kB / 0.5116 GB, free: 3.168 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.3166, allocations: 3.984 kB / 0.5116 GB, free: 3.164 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.444e-05/0.3166, allocations: 13.72 kB / 0.5116 GB, free: 3.145 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.3166, allocations: 28.48 kB / 0.5116 GB, free: 3.109 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3166, allocations: 0 / 0.5116 GB, free: 3.109 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.565e-05/0.3166, allocations: 53.56 kB / 0.5117 GB, free: 3.051 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.3167, allocations: 4 kB / 0.5117 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3167, allocations: 4 kB / 0.5117 GB, free: 3.043 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/0.3167, allocations: 0 / 0.5117 GB, free: 3.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.649e-05/0.3167, allocations: 7.984 kB / 0.5117 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.3167, allocations: 0 / 0.5117 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.3167, allocations: 4 kB / 0.5117 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.3167, allocations: 0 / 0.5117 GB, free: 3.031 MB / 474.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.48e-05/0.3168, allocations: 112.7 kB / 0.5118 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.3168, allocations: 8 kB / 0.5118 GB, free: 2.902 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-05/0.3169, allocations: 121 kB / 0.5119 GB, free: 2.777 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/0.3169, allocations: 180.2 kB / 0.5121 GB, free: 2.594 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-05/0.3169, allocations: 180.3 kB / 0.5123 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/0.317, allocations: 186.7 kB / 0.5125 GB, free: 2.223 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.3171, allocations: 321.4 kB / 0.5128 GB, free: 1.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/0.3171, allocations: 104.9 kB / 0.5129 GB, free: 1.773 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.3171, allocations: 101 kB / 0.513 GB, free: 1.668 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.3172, allocations: 107.2 kB / 0.5131 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.874e-05/0.3172, allocations: 192.1 kB / 0.5132 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.3172, allocations: 184.3 kB / 0.5134 GB, free: 1.176 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.594e-05/0.3173, allocations: 180.4 kB / 0.5136 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-05/0.3173, allocations: 180.3 kB / 0.5138 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.869e-05/0.3174, allocations: 307.8 kB / 0.5141 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.3174, allocations: 176.3 kB / 0.5142 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.3175, allocations: 116.9 kB / 0.5143 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.3176, allocations: 176.3 kB / 0.5145 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.3176, allocations: 113 kB / 0.5146 GB, free: 15.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.545e-05/0.3176, allocations: 9.734 kB / 0.5146 GB, free: 15.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3176, allocations: 0 / 0.5146 GB, free: 15.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.3178, allocations: 63.67 kB / 0.5147 GB, free: 15.81 MB / 490.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.0002438/0.318, allocations: 241.6 kB / 0.5149 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.452e-05/0.3181, allocations: 12.86 kB / 0.5149 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3181, allocations: 128 / 0.5149 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.31e-07/0.3181, allocations: 4 kB / 0.5149 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.3183, allocations: 468.6 kB / 0.5154 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/0.319, allocations: 189 kB / 0.5156 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.975e-05/0.319, allocations: 55.3 kB / 0.5156 GB, free: 14.81 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.834e-05/0.319, allocations: 12.8 kB / 0.5156 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.3191, allocations: 59.36 kB / 0.5157 GB, free: 14.74 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3191, allocations: 0 / 0.5157 GB, free: 14.74 MB / 490.7 MB Notification: Performance of Templates: time 0.002964/0.3221, allocations: 1.518 MB / 0.5172 GB, free: 13.29 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3799282796680927]