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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.0009346/0.0009346, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009841/0.0009841, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9875/0.9875, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002975, allocations: 8 kB / 0.5158 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1491, allocations: 83.41 MB / 0.5973 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3751/0.5242, allocations: 114.3 MB / 0.7089 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000721/0.525, allocations: 488.5 kB / 0.7094 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.238e-05/0.5251, allocations: 0 / 0.7094 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.5252, allocations: 6.469 kB / 0.7094 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.788e-05/0.5253, allocations: 10.14 kB / 0.7094 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008528/0.5261, allocations: 196.5 kB / 0.7096 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.724e-05/0.5262, allocations: 22.19 kB / 0.7096 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.5263, allocations: 2.078 kB / 0.7096 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.5263, allocations: 10.09 kB / 0.7096 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.643e-05/0.5264, allocations: 13.27 kB / 0.7096 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.5264, allocations: 5.25 kB / 0.7096 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.527, allocations: 176.8 kB / 0.7098 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.527, allocations: 4.109 kB / 0.7098 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.5271, allocations: 27.92 kB / 0.7098 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.5274, allocations: 109.8 kB / 0.7099 GB, free: 14.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5274, allocations: 1.031 kB / 0.7099 GB, free: 14.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5274, allocations: 0 / 0.7099 GB, free: 14.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.5274, allocations: 0 / 0.7099 GB, free: 14.72 MB / 0.545 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.0004228/0.5278, allocations: 348.7 kB / 0.7102 GB, free: 14.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.5279, allocations: 9.562 kB / 0.7103 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.5279, allocations: 4.672 kB / 0.7103 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.5281, allocations: 169.4 kB / 0.7104 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.5281, allocations: 27.55 kB / 0.7104 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.5281, allocations: 4.25 kB / 0.7104 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.5283, allocations: 39.38 kB / 0.7105 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5283, allocations: 0 / 0.7105 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5283, allocations: 0 / 0.7105 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.5283, allocations: 1.891 kB / 0.7105 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.074e-05/0.5284, allocations: 16.41 kB / 0.7105 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.5291, allocations: 0.5983 MB / 0.7111 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.811e-05/0.5292, allocations: 17.78 kB / 0.7111 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.5294, allocations: 332.9 kB / 0.7114 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.5294, allocations: 31.84 kB / 0.7115 GB, free: 12.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5294, allocations: 0 / 0.7115 GB, free: 12.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.5296, allocations: 45.53 kB / 0.7115 GB, free: 12.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.5296, allocations: 52.06 kB / 0.7115 GB, free: 12.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.5297, allocations: 103.7 kB / 0.7116 GB, free: 12.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.5297, allocations: 25.7 kB / 0.7117 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.5298, allocations: 86.47 kB / 0.7117 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.095e-06/0.5298, allocations: 9.641 kB / 0.7118 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.5298, allocations: 0 / 0.7118 GB, free: 12.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.5299, allocations: 324.6 kB / 0.7121 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.5299, allocations: 8.641 kB / 0.7121 GB, free: 12.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.53, allocations: 18.78 kB / 0.7121 GB, free: 12.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.004e-05/0.53, allocations: 4.703 kB / 0.7121 GB, free: 12.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.53, allocations: 0 / 0.7121 GB, free: 12.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.36e-05/0.5301, allocations: 49.77 kB / 0.7121 GB, free: 12.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5301, allocations: 5.219 kB / 0.7122 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5301, allocations: 1.031 kB / 0.7122 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5301, allocations: 5.781 kB / 0.7122 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.5302, allocations: 5.781 kB / 0.7122 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5302, allocations: 1.781 kB / 0.7122 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.5302, allocations: 1.406 kB / 0.7122 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.5302, allocations: 1.469 kB / 0.7122 GB, free: 12.26 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.702e-05/0.5303, allocations: 116 kB / 0.7123 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.5303, allocations: 2.609 kB / 0.7123 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.5305, allocations: 126.3 kB / 0.7124 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.364e-05/0.5305, allocations: 183.3 kB / 0.7126 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.587e-05/0.5306, allocations: 182.2 kB / 0.7128 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.196e-05/0.5306, allocations: 181 kB / 0.7129 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.5309, allocations: 412.8 kB / 0.7133 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/0.5309, allocations: 106.1 kB / 0.7134 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.5309, allocations: 102.7 kB / 0.7135 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.452e-05/0.531, allocations: 181.9 kB / 0.7137 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/0.5311, allocations: 179.7 kB / 0.7139 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.782e-05/0.5311, allocations: 182.5 kB / 0.714 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.078e-05/0.5312, allocations: 178.1 kB / 0.7142 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.5313, allocations: 317.4 kB / 0.7145 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.157e-05/0.5314, allocations: 182.1 kB / 0.7147 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.5315, allocations: 187.5 kB / 0.7149 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.5316, allocations: 106.9 kB / 0.715 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.5317, allocations: 181 kB / 0.7151 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.5317, allocations: 111 kB / 0.7152 GB, free: 8.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.5318, allocations: 90.3 kB / 0.7153 GB, free: 8.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5318, allocations: 0 / 0.7153 GB, free: 8.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003273/0.5321, allocations: 51.7 kB / 0.7154 GB, free: 8.863 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003263/0.5324, allocations: 260.8 kB / 0.7156 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.832e-05/0.5325, allocations: 7.172 kB / 0.7156 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5325, allocations: 3.938 kB / 0.7156 GB, free: 8.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.5325, allocations: 1.156 kB / 0.7156 GB, free: 8.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.5328, allocations: 0.5306 MB / 0.7162 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.5331, allocations: 181.4 kB / 0.7163 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.5333, allocations: 0.6766 MB / 0.717 GB, free: 7.266 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.228e-05/0.5334, allocations: 11.45 kB / 0.717 GB, free: 7.262 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.5334, allocations: 9.906 kB / 0.717 GB, free: 7.254 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5334, allocations: 0 / 0.717 GB, free: 7.254 MB / 0.545 GB Notification: Performance of Templates: time 0.003845/0.5372, allocations: 1.267 MB / 0.7182 GB, free: 7.074 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: