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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 113 kB / 16.41 MB, free: 6.484 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.001245/0.001245, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.434/1.434, allocations: 222.9 MB / 245.1 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9349/0.9349, allocations: 143.3 MB / 440.5 MB, free: 11.32 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.97 kB / 0.6038 GB, free: 11.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1719, allocations: 82.03 MB / 0.6839 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.591/0.763, allocations: 135.4 MB / 0.8161 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001654/0.7632, allocations: 56.88 kB / 0.8162 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.7633, allocations: 0 / 0.8162 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.7635, allocations: 7.688 kB / 0.8162 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.7636, allocations: 11.53 kB / 0.8162 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008278/0.7644, allocations: 242 kB / 0.8164 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.7645, allocations: 31 kB / 0.8165 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.7646, allocations: 3.609 kB / 0.8165 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.426e-05/0.7646, allocations: 15.53 kB / 0.8165 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.938e-05/0.7647, allocations: 23.77 kB / 0.8165 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.7647, allocations: 1.156 kB / 0.8165 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004349/0.7651, allocations: 244.5 kB / 0.8168 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.7652, allocations: 5.141 kB / 0.8168 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.7652, allocations: 8.312 kB / 0.8168 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.7657, allocations: 190.1 kB / 0.8169 GB, free: 10 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.7657, allocations: 0 / 0.8169 GB, free: 10 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7657, allocations: 1.25 kB / 0.8169 GB, free: 10 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.7657, allocations: 0 / 0.8169 GB, free: 10 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.0004537/0.7662, allocations: 376.2 kB / 0.8173 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.7662, allocations: 10.06 kB / 0.8173 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.7663, allocations: 32.22 kB / 0.8173 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.7663, allocations: 2.375 kB / 0.8174 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.7665, allocations: 167.9 kB / 0.8175 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.7665, allocations: 26.27 kB / 0.8175 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.7665, allocations: 5.375 kB / 0.8175 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.7667, allocations: 46.77 kB / 0.8176 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.7667, allocations: 4 kB / 0.8176 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.7667, allocations: 1.438 kB / 0.8176 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.7667, allocations: 1.594 kB / 0.8176 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.83e-05/0.7667, allocations: 16.66 kB / 0.8176 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008898/0.7676, allocations: 0.6028 MB / 0.8182 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.842e-05/0.7677, allocations: 23.95 kB / 0.8182 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.7677, allocations: 6.297 kB / 0.8182 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.768, allocations: 336.5 kB / 0.8185 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.768, allocations: 32.3 kB / 0.8186 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.768, allocations: 1.062 kB / 0.8186 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001481/0.7682, allocations: 37.67 kB / 0.8186 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.7682, allocations: 58.31 kB / 0.8187 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.7683, allocations: 105.3 kB / 0.8188 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.7683, allocations: 26.86 kB / 0.8188 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.7684, allocations: 89.31 kB / 0.8189 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-06/0.7684, allocations: 0 / 0.8189 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.7684, allocations: 15.91 kB / 0.8189 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.7686, allocations: 319.3 kB / 0.8192 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.7686, allocations: 4.078 kB / 0.8192 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.7687, allocations: 13.72 kB / 0.8192 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.7687, allocations: 26.8 kB / 0.8192 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7687, allocations: 0 / 0.8192 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.471e-05/0.7688, allocations: 48.41 kB / 0.8193 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.7688, allocations: 4.875 kB / 0.8193 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.7688, allocations: 4.344 kB / 0.8193 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.7688, allocations: 3.938 kB / 0.8193 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.7689, allocations: 5.969 kB / 0.8193 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.7689, allocations: 4.062 kB / 0.8193 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.7689, allocations: 3.953 kB / 0.8193 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.7689, allocations: 6.031 kB / 0.8193 GB, free: 7.469 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 7.951e-05/0.769, allocations: 117.6 kB / 0.8194 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.7691, allocations: 2.094 kB / 0.8194 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.7692, allocations: 115.1 kB / 0.8195 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.413e-05/0.7693, allocations: 193.9 kB / 0.8197 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-05/0.7694, allocations: 181.6 kB / 0.8199 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001464/0.7695, allocations: 176.3 kB / 0.8201 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.7699, allocations: 411.3 kB / 0.8205 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/0.7699, allocations: 107 kB / 0.8206 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.77, allocations: 104.9 kB / 0.8207 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-05/0.7701, allocations: 185 kB / 0.8208 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/0.7702, allocations: 176.3 kB / 0.821 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-05/0.7702, allocations: 183.6 kB / 0.8212 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.364e-05/0.7703, allocations: 181.4 kB / 0.8214 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.7705, allocations: 313.6 kB / 0.8217 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.7706, allocations: 182.9 kB / 0.8218 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.7707, allocations: 186 kB / 0.822 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.7709, allocations: 106 kB / 0.8221 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/0.771, allocations: 183.1 kB / 0.8223 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.771, allocations: 104.5 kB / 0.8224 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.859e-05/0.7711, allocations: 90.69 kB / 0.8225 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7711, allocations: 0 / 0.8225 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004513/0.7716, allocations: 56.56 kB / 0.8225 GB, free: 4.094 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.0006735/0.7722, allocations: 0.8896 MB / 0.8234 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.818e-05/0.7723, allocations: 10.91 kB / 0.8234 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7723, allocations: 3.938 kB / 0.8234 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.7723, allocations: 3.938 kB / 0.8234 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.7728, allocations: 468.6 kB / 0.8239 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.7741, allocations: 1.339 MB / 0.8252 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.7744, allocations: 0.6738 MB / 0.8258 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.7745, allocations: 14.52 kB / 0.8258 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.7745, allocations: 10.75 kB / 0.8258 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.7745, allocations: 0 / 0.8258 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.7988, allocations: 2.27 MB / 0.8281 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.887, allocations: 13.5 kB / 0.8281 GB, free: 15.95 MB / 0.6075 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.555343793006614] Failed to read output from testmodel.py, exit status != 0: 8.953817641013302 8.968418248 8.199775203 Calling exit ...