Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 117.1 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 195.7 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.874/0.874, allocations: 129.2 MB / 432.5 MB, free: 13.04 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 0.5987 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3822, allocations: 83.44 MB / 0.6801 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1555/0.5377, allocations: 135.8 MB / 0.8128 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0002042/0.5379, allocations: 55.78 kB / 0.8128 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.5379, allocations: 4 kB / 0.8128 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.538, allocations: 3.938 kB / 0.8128 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/0.5381, allocations: 11.92 kB / 0.8128 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.5391, allocations: 243 kB / 0.8131 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.5392, allocations: 35.91 kB / 0.8131 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.5393, allocations: 3.984 kB / 0.8131 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.5393, allocations: 11.94 kB / 0.8131 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.5394, allocations: 19.91 kB / 0.8131 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.5394, allocations: 0 / 0.8131 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006504/0.54, allocations: 255.4 kB / 0.8134 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.5401, allocations: 11.98 kB / 0.8134 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.5401, allocations: 4 kB / 0.8134 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.5406, allocations: 182.5 kB / 0.8136 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.5406, allocations: 0 / 0.8136 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5406, allocations: 0 / 0.8136 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5406, allocations: 0 / 0.8136 GB, free: 4.895 MB / 0.6231 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.0004739/0.5411, allocations: 355.2 kB / 0.8139 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.5411, allocations: 12.03 kB / 0.8139 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.5412, allocations: 42.69 kB / 0.814 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.5412, allocations: 4.891 kB / 0.814 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.5413, allocations: 176.2 kB / 0.8141 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/0.5414, allocations: 30.02 kB / 0.8142 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.5414, allocations: 0 / 0.8142 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.5416, allocations: 41.69 kB / 0.8142 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.5416, allocations: 0 / 0.8142 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.5416, allocations: 0 / 0.8142 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.5416, allocations: 4 kB / 0.8142 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.544e-05/0.5416, allocations: 15.98 kB / 0.8142 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008634/0.5425, allocations: 0.6028 MB / 0.8148 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 5.671e-05/0.5426, allocations: 18.58 kB / 0.8148 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.5426, allocations: 4.859 kB / 0.8148 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.5428, allocations: 336.5 kB / 0.8151 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.5429, allocations: 38.5 kB / 0.8152 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.5429, allocations: 0 / 0.8152 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001575/0.543, allocations: 41.62 kB / 0.8152 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.5431, allocations: 55.41 kB / 0.8153 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.5432, allocations: 97.84 kB / 0.8154 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.5432, allocations: 29.7 kB / 0.8154 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.5432, allocations: 88.09 kB / 0.8155 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.5433, allocations: 4.078 kB / 0.8155 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.5433, allocations: 17.72 kB / 0.8155 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5434, allocations: 322.8 kB / 0.8158 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.5434, allocations: 4 kB / 0.8158 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.5435, allocations: 13.72 kB / 0.8158 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.5435, allocations: 21.66 kB / 0.8159 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5435, allocations: 8 kB / 0.8159 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.65e-05/0.5436, allocations: 45.97 kB / 0.8159 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.5436, allocations: 4 kB / 0.8159 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5436, allocations: 0 / 0.8159 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.5436, allocations: 4 kB / 0.8159 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.5437, allocations: 11.92 kB / 0.8159 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.5437, allocations: 0 / 0.8159 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.5437, allocations: 3.938 kB / 0.8159 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.5437, allocations: 11.92 kB / 0.8159 GB, free: 2.07 MB / 0.6231 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.706e-05/0.5438, allocations: 109.9 kB / 0.816 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.5438, allocations: 7.953 kB / 0.816 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.544, allocations: 117 kB / 0.8162 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.68e-05/0.544, allocations: 184.2 kB / 0.8163 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.929e-05/0.5441, allocations: 176.3 kB / 0.8165 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.599e-05/0.5442, allocations: 188.1 kB / 0.8167 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.5445, allocations: 409.2 kB / 0.8171 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.624e-05/0.5445, allocations: 105 kB / 0.8172 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.5446, allocations: 108.9 kB / 0.8173 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.218e-05/0.5447, allocations: 184.3 kB / 0.8175 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-05/0.5447, allocations: 180.2 kB / 0.8176 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.682e-05/0.5448, allocations: 184.3 kB / 0.8178 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.279e-05/0.5449, allocations: 176.3 kB / 0.818 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.5451, allocations: 307.7 kB / 0.8183 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.5452, allocations: 190.3 kB / 0.8184 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.5453, allocations: 184.2 kB / 0.8186 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.5454, allocations: 113 kB / 0.8187 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.5455, allocations: 180.2 kB / 0.8189 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.5456, allocations: 104.9 kB / 0.819 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.919e-05/0.5456, allocations: 91.27 kB / 0.8191 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.5456, allocations: 0 / 0.8191 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003285/0.5459, allocations: 51.81 kB / 0.8191 GB, free: 14.57 MB / 0.6387 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.0007024/0.5466, allocations: 0.8826 MB / 0.82 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.31e-05/0.5467, allocations: 7.984 kB / 0.82 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5467, allocations: 0 / 0.82 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.838e-06/0.5467, allocations: 3.938 kB / 0.82 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.5472, allocations: 465.3 kB / 0.8205 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.5484, allocations: 1.352 MB / 0.8218 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.5487, allocations: 0.6768 MB / 0.8224 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.546e-05/0.5488, allocations: 4 kB / 0.8224 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.5488, allocations: 7.438 kB / 0.8224 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.5488, allocations: 4 kB / 0.8224 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.5754, allocations: 2.223 MB / 0.8246 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.492, allocations: 7.172 kB / 0.8246 GB, free: 8.902 MB / 0.6387 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.903198411688209] Failed to read output from testmodel.py, exit status != 0: 8.561972231138498 8.584899275 8.039848526 Calling exit ...