Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001063/0.001063, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001935/0.001935, allocations: 287.1 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8692/0.8692, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 89.25 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1401, allocations: 86.98 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.385/0.5252, allocations: 133.3 MB / 0.8097 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001317/0.5253, allocations: 60.94 kB / 0.8098 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.5254, allocations: 0 / 0.8098 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.223e-05/0.5255, allocations: 7.219 kB / 0.8098 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.5256, allocations: 8.766 kB / 0.8098 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006003/0.5262, allocations: 223 kB / 0.81 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.059e-05/0.5262, allocations: 59.61 kB / 0.8101 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.672e-05/0.5263, allocations: 6.156 kB / 0.8101 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.5263, allocations: 16.97 kB / 0.8101 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.5264, allocations: 13.03 kB / 0.8101 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.5264, allocations: 0 / 0.8101 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.5268, allocations: 245.9 kB / 0.8103 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.5268, allocations: 8.641 kB / 0.8104 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.5268, allocations: 5.531 kB / 0.8104 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.5271, allocations: 204.9 kB / 0.8106 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5271, allocations: 0 / 0.8106 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5272, allocations: 0 / 0.8106 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.5272, allocations: 0 / 0.8106 GB, free: 2.113 MB / 0.5606 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.0003994/0.5276, allocations: 357.8 kB / 0.8109 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.5276, allocations: 10.81 kB / 0.8109 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.5276, allocations: 30.75 kB / 0.8109 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.5277, allocations: 2.469 kB / 0.8109 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.37e-05/0.5278, allocations: 167.8 kB / 0.8111 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.5278, allocations: 32.58 kB / 0.8111 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.5278, allocations: 5.469 kB / 0.8111 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.5279, allocations: 45.97 kB / 0.8112 GB, free: 17.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.5279, allocations: 3.125 kB / 0.8112 GB, free: 17.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.528, allocations: 1.203 kB / 0.8112 GB, free: 17.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.528, allocations: 0 / 0.8112 GB, free: 17.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.528, allocations: 10.8 kB / 0.8112 GB, free: 17.44 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.5286, allocations: 0.6047 MB / 0.8118 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 2.586e-05/0.5287, allocations: 19.7 kB / 0.8118 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.095e-05/0.5287, allocations: 8.766 kB / 0.8118 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.5289, allocations: 337.6 kB / 0.8121 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.5289, allocations: 33.03 kB / 0.8122 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5289, allocations: 1.203 kB / 0.8122 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001153/0.529, allocations: 40.61 kB / 0.8122 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.529, allocations: 51.41 kB / 0.8122 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.707e-05/0.5291, allocations: 104.2 kB / 0.8123 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.5291, allocations: 29.64 kB / 0.8124 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.5292, allocations: 90.64 kB / 0.8125 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-06/0.5292, allocations: 0 / 0.8125 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.5292, allocations: 18.56 kB / 0.8125 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.5293, allocations: 321.7 kB / 0.8128 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.5293, allocations: 4.062 kB / 0.8128 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.5293, allocations: 20.06 kB / 0.8128 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.5293, allocations: 17.64 kB / 0.8128 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5293, allocations: 0 / 0.8128 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.48e-05/0.5294, allocations: 51.03 kB / 0.8129 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.5294, allocations: 9.812 kB / 0.8129 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.5294, allocations: 6.672 kB / 0.8129 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.5295, allocations: 0 / 0.8129 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.785e-05/0.5295, allocations: 10.94 kB / 0.8129 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.5295, allocations: 0 / 0.8129 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.5295, allocations: 1.031 kB / 0.8129 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.5295, allocations: 6.344 kB / 0.8129 GB, free: 15.61 MB / 0.5762 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 5.563e-05/0.5296, allocations: 109.3 kB / 0.813 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.5296, allocations: 4.75 kB / 0.813 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.568e-05/0.5297, allocations: 125.9 kB / 0.8131 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.307e-05/0.5298, allocations: 178.3 kB / 0.8133 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.336e-05/0.5298, allocations: 180.2 kB / 0.8135 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.222e-05/0.5299, allocations: 178 kB / 0.8137 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.53, allocations: 417.5 kB / 0.814 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.5301, allocations: 101 kB / 0.8141 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.5301, allocations: 104 kB / 0.8142 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.291e-05/0.5301, allocations: 185.4 kB / 0.8144 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.5302, allocations: 177.3 kB / 0.8146 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.282e-05/0.5302, allocations: 183.4 kB / 0.8148 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.012e-05/0.5303, allocations: 190.9 kB / 0.8149 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.591e-05/0.5304, allocations: 308.3 kB / 0.8152 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.5304, allocations: 182.8 kB / 0.8154 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.5305, allocations: 184.1 kB / 0.8156 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.5306, allocations: 105.9 kB / 0.8157 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.5307, allocations: 193 kB / 0.8159 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.5307, allocations: 103.3 kB / 0.816 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.5308, allocations: 86.41 kB / 0.8161 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5308, allocations: 3.188 kB / 0.8161 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002654/0.531, allocations: 54.97 kB / 0.8161 GB, free: 12.23 MB / 0.5762 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.0004395/0.5315, allocations: 0.8849 MB / 0.817 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.233e-05/0.5315, allocations: 9.125 kB / 0.817 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5316, allocations: 0 / 0.817 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.5316, allocations: 2.281 kB / 0.817 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.5319, allocations: 0.5278 MB / 0.8175 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.5327, allocations: 1.347 MB / 0.8188 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.5329, allocations: 0.6745 MB / 0.8195 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.5329, allocations: 7 kB / 0.8195 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.533, allocations: 12 kB / 0.8195 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.533, allocations: 0 / 0.8195 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2541/0.787, allocations: 2.087 MB / 0.8215 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.7873, allocations: 223.1 kB / 0.8217 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.339, allocations: 1.203 kB / 0.8217 GB, free: 8.27 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)