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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006005/0.006005, allocations: 98.91 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 196.1 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8528/0.8528, allocations: 143 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.53 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1799, allocations: 82.03 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.594/0.7739, allocations: 135.4 MB / 0.8079 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001623/0.7741, allocations: 50.5 kB / 0.8079 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.7742, allocations: 1.344 kB / 0.8079 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.7744, allocations: 6.422 kB / 0.8079 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.7745, allocations: 15.56 kB / 0.8079 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000848/0.7753, allocations: 239 kB / 0.8082 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.7754, allocations: 36.84 kB / 0.8082 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.7755, allocations: 4.703 kB / 0.8082 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.809e-05/0.7755, allocations: 16.66 kB / 0.8082 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.7756, allocations: 15.44 kB / 0.8082 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.7756, allocations: 1.125 kB / 0.8082 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.7761, allocations: 249.2 kB / 0.8085 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.365e-05/0.7762, allocations: 4.641 kB / 0.8085 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.7762, allocations: 15.42 kB / 0.8085 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.7766, allocations: 189.2 kB / 0.8087 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.7766, allocations: 3.562 kB / 0.8087 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7766, allocations: 1.219 kB / 0.8087 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.7766, allocations: 0 / 0.8087 GB, free: 10.38 MB / 0.5919 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.0004068/0.777, allocations: 364.8 kB / 0.809 GB, free: 10 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.7771, allocations: 9.438 kB / 0.809 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.7771, allocations: 3.125 kB / 0.809 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.7772, allocations: 165.4 kB / 0.8092 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.7773, allocations: 27.36 kB / 0.8092 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.7773, allocations: 7.234 kB / 0.8092 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.7774, allocations: 45.25 kB / 0.8093 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7775, allocations: 1.828 kB / 0.8093 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.7775, allocations: 5.219 kB / 0.8093 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.7775, allocations: 1.188 kB / 0.8093 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.7775, allocations: 14.38 kB / 0.8093 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.7782, allocations: 0.5993 MB / 0.8099 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.404e-05/0.7783, allocations: 15.7 kB / 0.8099 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.7783, allocations: 13.27 kB / 0.8099 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.7785, allocations: 335.5 kB / 0.8102 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.7785, allocations: 34.97 kB / 0.8103 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.7785, allocations: 1.25 kB / 0.8103 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.7787, allocations: 34.14 kB / 0.8103 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.7787, allocations: 51.41 kB / 0.8103 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.7788, allocations: 102.3 kB / 0.8104 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.7788, allocations: 27.89 kB / 0.8105 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.7789, allocations: 91.39 kB / 0.8105 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.814e-06/0.7789, allocations: 8.25 kB / 0.8106 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.7789, allocations: 19.77 kB / 0.8106 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.779, allocations: 319.9 kB / 0.8109 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.7791, allocations: 2.594 kB / 0.8109 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.7791, allocations: 19.2 kB / 0.8109 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/0.7791, allocations: 25.52 kB / 0.8109 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7791, allocations: 0 / 0.8109 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.335e-05/0.7792, allocations: 50.78 kB / 0.811 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7792, allocations: 6.656 kB / 0.811 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.7793, allocations: 2.125 kB / 0.811 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.7793, allocations: 0 / 0.811 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-05/0.7793, allocations: 6.547 kB / 0.811 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.7793, allocations: 2.688 kB / 0.811 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.7793, allocations: 4.062 kB / 0.811 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.7794, allocations: 3 kB / 0.811 GB, free: 7.898 MB / 0.5919 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 6.585e-05/0.7794, allocations: 116.2 kB / 0.8111 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.7795, allocations: 2.281 kB / 0.8111 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.7796, allocations: 117.9 kB / 0.8112 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/0.7796, allocations: 186.2 kB / 0.8114 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.914e-05/0.7797, allocations: 184.2 kB / 0.8116 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.623e-05/0.7798, allocations: 183.3 kB / 0.8118 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.78, allocations: 412 kB / 0.8121 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-05/0.78, allocations: 104.9 kB / 0.8122 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.7801, allocations: 101 kB / 0.8123 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.503e-05/0.7801, allocations: 182.3 kB / 0.8125 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.7803, allocations: 182.6 kB / 0.8127 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-05/0.7803, allocations: 182.2 kB / 0.8129 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.622e-05/0.7804, allocations: 184.2 kB / 0.813 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.7806, allocations: 311.8 kB / 0.8133 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.7807, allocations: 191 kB / 0.8135 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.7807, allocations: 178.4 kB / 0.8137 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.7809, allocations: 110.3 kB / 0.8138 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.7809, allocations: 176.3 kB / 0.814 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.781, allocations: 109.3 kB / 0.8141 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.694e-05/0.781, allocations: 84.5 kB / 0.8141 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.781, allocations: 4 kB / 0.8142 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003039/0.7813, allocations: 60.92 kB / 0.8142 GB, free: 4.516 MB / 0.5919 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.0002835/0.7816, allocations: 254.2 kB / 0.8145 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.488e-05/0.7817, allocations: 11.22 kB / 0.8145 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7817, allocations: 0 / 0.8145 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.849e-06/0.7817, allocations: 3.938 kB / 0.8145 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.7821, allocations: 458.8 kB / 0.8149 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.7823, allocations: 173.7 kB / 0.8151 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.7826, allocations: 0.6777 MB / 0.8157 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.857e-05/0.7826, allocations: 14.36 kB / 0.8157 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.7826, allocations: 10.34 kB / 0.8158 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.7826, allocations: 0 / 0.8158 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of Templates: time 0.003797/0.7864, allocations: 1.346 MB / 0.8171 GB, free: 2.742 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)