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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9614/0.9614, allocations: 145 MB / 457.4 MB, free: 15.25 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 66.06 kB / 0.6331 GB, free: 6.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1924, allocations: 87.9 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5846/0.777, allocations: 119 MB / 0.8351 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001855/0.7771, allocations: 53.42 kB / 0.8352 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.7772, allocations: 0 / 0.8352 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.7773, allocations: 3.938 kB / 0.8352 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.106e-05/0.7774, allocations: 18.78 kB / 0.8352 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.7783, allocations: 248.7 kB / 0.8355 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.7783, allocations: 32.02 kB / 0.8355 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.7784, allocations: 2.312 kB / 0.8355 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.559e-05/0.7784, allocations: 20.22 kB / 0.8355 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.7785, allocations: 15.45 kB / 0.8355 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.7785, allocations: 0 / 0.8355 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.7789, allocations: 173.3 kB / 0.8357 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.7789, allocations: 16.81 kB / 0.8357 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.779, allocations: 3.312 kB / 0.8357 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.7793, allocations: 173.5 kB / 0.8359 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.7793, allocations: 4 kB / 0.8359 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7793, allocations: 0 / 0.8359 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.7793, allocations: 0 / 0.8359 GB, free: 2.848 MB / 0.6075 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.0004475/0.7797, allocations: 285.7 kB / 0.8361 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.7798, allocations: 10.03 kB / 0.8362 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.7798, allocations: 30.75 kB / 0.8362 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.7799, allocations: 4.344 kB / 0.8362 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.78, allocations: 102.5 kB / 0.8363 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/0.78, allocations: 58.69 kB / 0.8363 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.7801, allocations: 15.86 kB / 0.8364 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.7802, allocations: 73.91 kB / 0.8364 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.7802, allocations: 0 / 0.8364 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.7802, allocations: 0 / 0.8364 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.7802, allocations: 7.922 kB / 0.8364 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.59e-05/0.7803, allocations: 7.156 kB / 0.8364 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.7809, allocations: 289.7 kB / 0.8367 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.781, allocations: 18.52 kB / 0.8367 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.781, allocations: 13.64 kB / 0.8368 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.486e-05/0.7811, allocations: 31.88 kB / 0.8368 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.7811, allocations: 32.88 kB / 0.8368 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.7811, allocations: 0 / 0.8368 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.7812, allocations: 35.55 kB / 0.8368 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.7813, allocations: 57.88 kB / 0.8369 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.814e-05/0.7814, allocations: 98.91 kB / 0.837 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.7814, allocations: 25.7 kB / 0.837 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.7814, allocations: 91.03 kB / 0.8371 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.822e-06/0.7814, allocations: 3.953 kB / 0.8371 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.7815, allocations: 16.72 kB / 0.8371 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7816, allocations: 325.1 kB / 0.8374 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.7816, allocations: 2.719 kB / 0.8374 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.7816, allocations: 15.25 kB / 0.8375 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/0.7817, allocations: 22.73 kB / 0.8375 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.7817, allocations: 0 / 0.8375 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.307e-05/0.7818, allocations: 50.95 kB / 0.8375 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.7818, allocations: 5.469 kB / 0.8375 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7818, allocations: 8.047 kB / 0.8375 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7818, allocations: 2.781 kB / 0.8375 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.43e-05/0.7818, allocations: 2.719 kB / 0.8375 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.7818, allocations: 2.438 kB / 0.8375 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.7819, allocations: 0 / 0.8375 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.7819, allocations: 7.156 kB / 0.8376 GB, free: 1.102 MB / 0.6075 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 8.544e-05/0.7819, allocations: 112.9 kB / 0.8377 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.782, allocations: 3.938 kB / 0.8377 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.7821, allocations: 130.3 kB / 0.8378 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-05/0.7822, allocations: 184.2 kB / 0.838 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.028e-05/0.7823, allocations: 182.8 kB / 0.8381 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.853e-05/0.7823, allocations: 176.3 kB / 0.8383 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.7826, allocations: 385.6 kB / 0.8387 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-05/0.7827, allocations: 101 kB / 0.8388 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.7827, allocations: 107.1 kB / 0.8389 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.788e-05/0.7828, allocations: 183 kB / 0.839 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.789e-05/0.7829, allocations: 184.3 kB / 0.8392 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.214e-05/0.783, allocations: 182.7 kB / 0.8394 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.327e-05/0.783, allocations: 179 kB / 0.8396 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.7832, allocations: 313.4 kB / 0.8399 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.7833, allocations: 105 kB / 0.84 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/0.7834, allocations: 183 kB / 0.8401 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.7835, allocations: 111.2 kB / 0.8402 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.7836, allocations: 183.1 kB / 0.8404 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.7836, allocations: 101 kB / 0.8405 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.7837, allocations: 92.61 kB / 0.8406 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7837, allocations: 0 / 0.8406 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003055/0.784, allocations: 54.41 kB / 0.8407 GB, free: 13.79 MB / 0.6231 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.0006284/0.7846, allocations: 0.8878 MB / 0.8415 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.021e-05/0.7847, allocations: 7.984 kB / 0.8415 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7847, allocations: 4 kB / 0.8415 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.7847, allocations: 0 / 0.8415 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.7851, allocations: 467.1 kB / 0.842 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.7863, allocations: 1.36 MB / 0.8433 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.953e-05/0.7864, allocations: 55.36 kB / 0.8434 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.034e-05/0.7864, allocations: 11.92 kB / 0.8434 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.7865, allocations: 7.438 kB / 0.8434 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.7865, allocations: 0 / 0.8434 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.8155, allocations: 2.822 MB / 0.8461 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.93, allocations: 3.141 kB / 0.8461 GB, free: 8.191 MB / 0.6231 GB " [Timeout remaining time 648] (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: 15.976761302910745] Failed to read output from testmodel.py, exit status != 0: 12.035117827821523 12.057500697 11.27406072 Calling exit ...