Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001/0.001, allocations: 88.23 kB / 20.45 MB, free: 4.113 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.001056/0.001056, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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 1.038/1.038, allocations: 177.1 MB / 204.2 MB, free: 5.277 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.604/0.604, allocations: 110.3 MB / 371 MB, free: 12.4 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.457e-05, allocations: 6.625 kB / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1363/0.1363, allocations: 143.7 MB / 0.6044 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.1364, allocations: 47.8 kB / 0.6044 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.1365, allocations: 0 / 0.6044 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.1366, allocations: 7.938 kB / 0.6045 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.965e-05/0.1367, allocations: 15.91 kB / 0.6045 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.1372, allocations: 127.5 kB / 0.6046 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.724e-05/0.1372, allocations: 39.84 kB / 0.6046 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.1373, allocations: 0 / 0.6046 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.378e-05/0.1373, allocations: 19.97 kB / 0.6046 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.1374, allocations: 7.984 kB / 0.6047 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1374, allocations: 4 kB / 0.6047 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.1376, allocations: 71.73 kB / 0.6047 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1377, allocations: 8 kB / 0.6047 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.1377, allocations: 23.91 kB / 0.6048 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1379, allocations: 67.8 kB / 0.6048 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1379, allocations: 0 / 0.6048 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1379, allocations: 0 / 0.6048 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.1379, allocations: 4 kB / 0.6048 GB, free: 14.76 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000355/0.1382, allocations: 364.6 kB / 0.6052 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1383, allocations: 8.625 kB / 0.6052 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.1385, allocations: 24.86 kB / 0.6052 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.1386, allocations: 116.6 kB / 0.6053 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.1386, allocations: 51.97 kB / 0.6054 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1386, allocations: 4.125 kB / 0.6054 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1388, allocations: 88.02 kB / 0.6055 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1388, allocations: 0 / 0.6055 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1388, allocations: 4 kB / 0.6055 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.1388, allocations: 0 / 0.6055 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.662e-05/0.1388, allocations: 11.98 kB / 0.6055 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.1391, allocations: 263.6 kB / 0.6057 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.888e-05/0.1392, allocations: 35.03 kB / 0.6058 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.1392, allocations: 11.69 kB / 0.6058 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-06/0.1392, allocations: 0 / 0.6058 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1392, allocations: 41.45 kB / 0.6058 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1392, allocations: 0 / 0.6058 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.1393, allocations: 29.7 kB / 0.6058 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.1394, allocations: 51.41 kB / 0.6059 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.1394, allocations: 165.9 kB / 0.606 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.1395, allocations: 25.7 kB / 0.6061 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.1395, allocations: 154.8 kB / 0.6062 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-06/0.1395, allocations: 0 / 0.6062 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.1395, allocations: 19.38 kB / 0.6062 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1396, allocations: 0.4922 MB / 0.6067 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.1397, allocations: 4 kB / 0.6067 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.1397, allocations: 27.06 kB / 0.6067 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.1397, allocations: 39.05 kB / 0.6068 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1397, allocations: 3.938 kB / 0.6068 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.64e-05/0.1398, allocations: 53.64 kB / 0.6068 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1398, allocations: 6.188 kB / 0.6068 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1398, allocations: 0 / 0.6068 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1398, allocations: 0 / 0.6068 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.101e-05/0.1399, allocations: 12.23 kB / 0.6069 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1399, allocations: 0 / 0.6069 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.1399, allocations: 15.89 kB / 0.6069 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.1399, allocations: 0 / 0.6069 GB, free: 12.42 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 6.291e-05/0.14, allocations: 164.5 kB / 0.607 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.14, allocations: 4.094 kB / 0.607 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.14, allocations: 3.156 kB / 0.607 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.14, allocations: 0 / 0.607 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.14, allocations: 0 / 0.607 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.14, allocations: 4 kB / 0.607 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.1402, allocations: 400.3 kB / 0.6074 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1402, allocations: 96 / 0.6074 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-06/0.1402, allocations: 3.984 kB / 0.6074 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1402, allocations: 7.922 kB / 0.6074 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.1402, allocations: 0 / 0.6074 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1402, allocations: 4 kB / 0.6074 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1402, allocations: 4.031 kB / 0.6074 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.682e-05/0.1403, allocations: 76.33 kB / 0.6075 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.1403, allocations: 3.953 kB / 0.6075 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.1403, allocations: 3.984 kB / 0.6075 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.1403, allocations: 4 kB / 0.6075 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.1404, allocations: 0 / 0.6075 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.1404, allocations: 3.938 kB / 0.6075 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.1404, allocations: 127.2 kB / 0.6076 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.1404, allocations: 0 / 0.6076 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001252/0.1405, allocations: 8 kB / 0.6077 GB, free: 11.54 MB / 0.5261 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 (1): * Single equations (assignments): 1 * 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 8.088e-05/0.1406, allocations: 103.3 kB / 0.6078 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.903e-05/0.1407, allocations: 15.69 kB / 0.6078 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1407, allocations: 3.938 kB / 0.6078 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-06/0.1407, allocations: 11.69 kB / 0.6078 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.1408, allocations: 11.98 kB / 0.6078 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.1412, allocations: 117.6 kB / 0.6079 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.796e-05/0.1413, allocations: 59.3 kB / 0.608 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.1413, allocations: 7.984 kB / 0.608 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.1413, allocations: 8.5 kB / 0.608 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/0.1413, allocations: 0 / 0.608 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of Templates: time 0.002162/0.1435, allocations: 0.5842 MB / 0.6085 GB, free: 10.61 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.863669227808714]