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.0008401/0.0008401, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000927/0.000927, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9091/0.9091, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.5725/0.5725, allocations: 110.2 MB / 369.4 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.5472 GB, free: 8.773 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.342e-05, allocations: 3.062 kB / 0.5472 GB, free: 8.77 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3874/0.3874, allocations: 119.1 MB / 0.6635 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001696/0.3876, allocations: 47.28 kB / 0.6636 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.3876, allocations: 0 / 0.6636 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.3877, allocations: 7.172 kB / 0.6636 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.988e-05/0.3878, allocations: 12.2 kB / 0.6636 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.3886, allocations: 261 kB / 0.6638 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.69e-05/0.3887, allocations: 38.88 kB / 0.6639 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.3888, allocations: 0.75 kB / 0.6639 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.3888, allocations: 21.41 kB / 0.6639 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.3889, allocations: 16.67 kB / 0.6639 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.3889, allocations: 0 / 0.6639 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.3892, allocations: 181.9 kB / 0.6641 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.3893, allocations: 11.02 kB / 0.6641 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.3893, allocations: 7.234 kB / 0.6641 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.3896, allocations: 180.8 kB / 0.6643 GB, free: 9.645 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3896, allocations: 0.8438 kB / 0.6643 GB, free: 9.645 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3896, allocations: 2.594 kB / 0.6643 GB, free: 9.645 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3896, allocations: 0 / 0.6643 GB, free: 9.645 MB / 0.5573 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.0003466/0.3899, allocations: 289.8 kB / 0.6645 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.39, allocations: 18.28 kB / 0.6646 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.507e-05/0.39, allocations: 31.5 kB / 0.6646 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.39, allocations: 0.9375 kB / 0.6646 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.375e-05/0.3901, allocations: 107.8 kB / 0.6647 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.3902, allocations: 55.53 kB / 0.6647 GB, free: 9.137 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.3902, allocations: 3.688 kB / 0.6647 GB, free: 9.137 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.3903, allocations: 71.59 kB / 0.6648 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.3903, allocations: 2.156 kB / 0.6648 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.3903, allocations: 1.203 kB / 0.6648 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.3903, allocations: 3.672 kB / 0.6648 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.3904, allocations: 19.73 kB / 0.6648 GB, free: 9.066 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.3909, allocations: 278.5 kB / 0.6651 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.668e-05/0.3909, allocations: 23.69 kB / 0.6651 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.3909, allocations: 5.469 kB / 0.6651 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.391, allocations: 27.08 kB / 0.6652 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.391, allocations: 37.12 kB / 0.6652 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.391, allocations: 2.312 kB / 0.6652 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.3911, allocations: 33.19 kB / 0.6652 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/0.3911, allocations: 59.08 kB / 0.6653 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.162e-05/0.3912, allocations: 103.8 kB / 0.6654 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/0.3912, allocations: 25.7 kB / 0.6654 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.3912, allocations: 90.44 kB / 0.6655 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-06/0.3912, allocations: 3.656 kB / 0.6655 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.3913, allocations: 14 kB / 0.6655 GB, free: 8.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.864e-05/0.3913, allocations: 319 kB / 0.6658 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.3913, allocations: 3.953 kB / 0.6658 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.3913, allocations: 23.14 kB / 0.6658 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.3913, allocations: 24.98 kB / 0.6659 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3913, allocations: 0 / 0.6659 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.873e-05/0.3914, allocations: 56.72 kB / 0.6659 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3914, allocations: 4.891 kB / 0.6659 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3914, allocations: 0 / 0.6659 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3914, allocations: 1.969 kB / 0.6659 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.3915, allocations: 9.5 kB / 0.6659 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3915, allocations: 3.016 kB / 0.6659 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.3915, allocations: 0 / 0.6659 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3915, allocations: 7.562 kB / 0.6659 GB, free: 8.031 MB / 0.5573 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 3.74e-05/0.3915, allocations: 117.3 kB / 0.6661 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.3916, allocations: 0 / 0.6661 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.372e-05/0.3916, allocations: 123 kB / 0.6662 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.3916, allocations: 181.7 kB / 0.6664 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.3917, allocations: 181.4 kB / 0.6665 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.3917, allocations: 179.3 kB / 0.6667 GB, free: 7.262 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.86e-05/0.3918, allocations: 379.9 kB / 0.6671 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.3918, allocations: 103.6 kB / 0.6672 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.3918, allocations: 104.1 kB / 0.6673 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/0.3918, allocations: 186.3 kB / 0.6674 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3918, allocations: 185.2 kB / 0.6676 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/0.3918, allocations: 182.2 kB / 0.6678 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/0.3918, allocations: 179.2 kB / 0.668 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.181e-05/0.3919, allocations: 313.2 kB / 0.6683 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.3919, allocations: 106.8 kB / 0.6684 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.392, allocations: 182.5 kB / 0.6685 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.392, allocations: 106 kB / 0.6686 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.3923, allocations: 179.2 kB / 0.6688 GB, free: 21.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.3923, allocations: 110.9 kB / 0.6689 GB, free: 20.92 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.3923, allocations: 90.09 kB / 0.669 GB, free: 20.84 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3923, allocations: 1.203 kB / 0.669 GB, free: 20.84 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002382/0.3926, allocations: 59.62 kB / 0.6691 GB, free: 20.83 MB / 0.573 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.0004638/0.3931, allocations: 0.8922 MB / 0.6699 GB, free: 20 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 6.818e-05/0.3931, allocations: 12.89 kB / 0.6699 GB, free: 20 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3931, allocations: 4.109 kB / 0.6699 GB, free: 20 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.3931, allocations: 0 / 0.6699 GB, free: 20 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3934, allocations: 458.1 kB / 0.6704 GB, free: 19.55 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.3942, allocations: 1.347 MB / 0.6717 GB, free: 18.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.216e-05/0.3942, allocations: 61.91 kB / 0.6717 GB, free: 18.16 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.3942, allocations: 10.97 kB / 0.6718 GB, free: 18.16 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.3943, allocations: 11.19 kB / 0.6718 GB, free: 18.15 MB / 0.573 GB Notification: Performance of SimCode: time 4.51e-07/0.3943, allocations: 0 / 0.6718 GB, free: 18.15 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.4134, allocations: 2.978 MB / 0.6747 GB, free: 17.09 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/7.187, allocations: 5.844 kB / 0.6747 GB, free: 17.09 MB / 0.573 GB " [Timeout remaining time 653] (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: 9.76662756409496] Failed to read output from testmodel.py, exit status != 0: 7.267644946463406 7.282043777 6.890189913 Calling exit ...