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.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005695/0.005695, allocations: 103.7 kB / 15.74 MB, free: 5.953 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.001241/0.001241, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.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 1.029/1.029, allocations: 143 MB / 433.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 0.5955 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4263, allocations: 82.03 MB / 0.6756 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005371/0.4317, allocations: 4.014 MB / 0.6795 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001955/0.4319, allocations: 158.1 kB / 0.6797 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.4319, allocations: 3.938 kB / 0.6797 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.806e-05/0.432, allocations: 0 / 0.6797 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.4321, allocations: 15.22 kB / 0.6797 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.4325, allocations: 77.94 kB / 0.6798 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.4326, allocations: 33.89 kB / 0.6798 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.4326, allocations: 9.234 kB / 0.6798 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.4327, allocations: 13.11 kB / 0.6798 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/0.4328, allocations: 18.55 kB / 0.6798 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.4328, allocations: 5.047 kB / 0.6798 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.433, allocations: 53.14 kB / 0.6799 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.433, allocations: 7.203 kB / 0.6799 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.4331, allocations: 12.41 kB / 0.6799 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.4332, allocations: 39.61 kB / 0.68 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4332, allocations: 0 / 0.68 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4332, allocations: 4 kB / 0.68 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.4332, allocations: 0 / 0.68 GB, free: 13.9 MB / 0.5137 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.0003933/0.4336, allocations: 332.2 kB / 0.6803 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4337, allocations: 12.42 kB / 0.6803 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.4337, allocations: 7.719 kB / 0.6803 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.4338, allocations: 160.4 kB / 0.6804 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.4339, allocations: 35.64 kB / 0.6805 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.4339, allocations: 1.75 kB / 0.6805 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.4341, allocations: 50.67 kB / 0.6805 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.4341, allocations: 3.938 kB / 0.6805 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4341, allocations: 5.266 kB / 0.6805 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.4341, allocations: 1.25 kB / 0.6805 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.4342, allocations: 21.7 kB / 0.6806 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.4346, allocations: 332.7 kB / 0.6809 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.542e-05/0.4346, allocations: 19.95 kB / 0.6809 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.4347, allocations: 10.3 kB / 0.6809 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.503e-05/0.4347, allocations: 86.69 kB / 0.681 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.4348, allocations: 39.91 kB / 0.681 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4348, allocations: 0 / 0.681 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.4349, allocations: 31.14 kB / 0.6811 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.435, allocations: 52.47 kB / 0.6811 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/0.435, allocations: 107.4 kB / 0.6812 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.4351, allocations: 26.86 kB / 0.6812 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.4351, allocations: 87.03 kB / 0.6813 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-06/0.4351, allocations: 5.156 kB / 0.6813 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.4352, allocations: 21.11 kB / 0.6813 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.4353, allocations: 315.9 kB / 0.6816 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.4353, allocations: 2.031 kB / 0.6817 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.4353, allocations: 26.17 kB / 0.6817 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/0.4354, allocations: 19.31 kB / 0.6817 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4354, allocations: 1.062 kB / 0.6817 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.257e-05/0.4354, allocations: 50.75 kB / 0.6817 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4355, allocations: 5.281 kB / 0.6817 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4355, allocations: 0 / 0.6817 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4355, allocations: 1.125 kB / 0.6817 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.4355, allocations: 4.469 kB / 0.6818 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4355, allocations: 5.812 kB / 0.6818 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.4356, allocations: 5.125 kB / 0.6818 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4356, allocations: 1.062 kB / 0.6818 GB, free: 11.91 MB / 0.5137 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 7.306e-05/0.4357, allocations: 120 kB / 0.6819 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.4357, allocations: 1.312 kB / 0.6819 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.782e-05/0.4358, allocations: 119.9 kB / 0.682 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.495e-05/0.4358, allocations: 185.5 kB / 0.6822 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.929e-05/0.4359, allocations: 185.2 kB / 0.6823 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.939e-05/0.436, allocations: 181.3 kB / 0.6825 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.4362, allocations: 404.4 kB / 0.6829 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-05/0.4362, allocations: 108.9 kB / 0.683 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.4363, allocations: 110.2 kB / 0.6831 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.433e-05/0.4363, allocations: 185.3 kB / 0.6833 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/0.4364, allocations: 177.4 kB / 0.6835 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-05/0.4364, allocations: 181.3 kB / 0.6836 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.965e-05/0.4365, allocations: 181.2 kB / 0.6838 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.4366, allocations: 316.5 kB / 0.6841 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.4367, allocations: 183.1 kB / 0.6843 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.4368, allocations: 181.3 kB / 0.6845 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.4369, allocations: 108.1 kB / 0.6846 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.437, allocations: 181.7 kB / 0.6847 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.437, allocations: 108.9 kB / 0.6848 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.4371, allocations: 84.81 kB / 0.6849 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4371, allocations: 0 / 0.6849 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002327/0.4373, allocations: 12.06 kB / 0.6849 GB, free: 8.496 MB / 0.5137 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.0002372/0.4376, allocations: 204.1 kB / 0.6851 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.564e-05/0.4376, allocations: 6.25 kB / 0.6851 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4377, allocations: 4.125 kB / 0.6851 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.103e-06/0.4377, allocations: 1.375 kB / 0.6851 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.438, allocations: 466.1 kB / 0.6856 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.4383, allocations: 176.2 kB / 0.6857 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.4385, allocations: 0.6795 MB / 0.6864 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.4385, allocations: 13.33 kB / 0.6864 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.4386, allocations: 8.438 kB / 0.6864 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.4386, allocations: 0 / 0.6864 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of Templates: time 0.00256/0.4411, allocations: 0.6537 MB / 0.6871 GB, free: 6.613 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)