Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.001476/0.001476, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001549/0.001549, allocations: 217 kB / 22.25 MB, free: 5.082 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.008 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.9203/0.9203, allocations: 145 MB / 457.4 MB, free: 15.52 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.002019/0.002019, allocations: 70.41 kB / 0.6332 GB, free: 7.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1978, allocations: 87.88 MB / 0.719 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006366/0.2041, allocations: 4.146 MB / 0.723 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002236/0.2044, allocations: 155.5 kB / 0.7232 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.2044, allocations: 3.938 kB / 0.7232 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.2045, allocations: 3.938 kB / 0.7232 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.555e-05/0.2046, allocations: 15.97 kB / 0.7232 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.205, allocations: 87.67 kB / 0.7233 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.751e-05/0.2051, allocations: 31.86 kB / 0.7233 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.2051, allocations: 7.984 kB / 0.7233 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.379e-05/0.2052, allocations: 8 kB / 0.7233 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2053, allocations: 19.92 kB / 0.7233 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.2053, allocations: 0 / 0.7233 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.2055, allocations: 83.75 kB / 0.7234 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.2056, allocations: 4 kB / 0.7234 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.2056, allocations: 8 kB / 0.7234 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.2058, allocations: 75.72 kB / 0.7235 GB, free: 10.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2058, allocations: 0 / 0.7235 GB, free: 10.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2058, allocations: 0 / 0.7235 GB, free: 10.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2058, allocations: 0 / 0.7235 GB, free: 10.76 MB / 0.545 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.0004817/0.2063, allocations: 262.3 kB / 0.7238 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.2063, allocations: 8.031 kB / 0.7238 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.2064, allocations: 34.75 kB / 0.7238 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.2064, allocations: 4.938 kB / 0.7238 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2065, allocations: 106.5 kB / 0.7239 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-05/0.2066, allocations: 59.97 kB / 0.724 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.2067, allocations: 4.125 kB / 0.724 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.2068, allocations: 45.62 kB / 0.724 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2068, allocations: 0 / 0.724 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2068, allocations: 0 / 0.724 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.2068, allocations: 7.984 kB / 0.724 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.2069, allocations: 11.94 kB / 0.724 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.2074, allocations: 232 kB / 0.7242 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.478e-05/0.2074, allocations: 22.58 kB / 0.7243 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.2074, allocations: 8.922 kB / 0.7243 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.177e-05/0.2075, allocations: 7.984 kB / 0.7243 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.2075, allocations: 30.56 kB / 0.7243 GB, free: 9.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.2075, allocations: 3.938 kB / 0.7243 GB, free: 9.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000172/0.2077, allocations: 37.64 kB / 0.7244 GB, free: 9.742 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2077, allocations: 55.53 kB / 0.7244 GB, free: 9.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.2078, allocations: 105.8 kB / 0.7245 GB, free: 9.562 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2079, allocations: 25.7 kB / 0.7245 GB, free: 9.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.2079, allocations: 88.09 kB / 0.7246 GB, free: 9.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-06/0.2079, allocations: 3.953 kB / 0.7246 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.208, allocations: 17.7 kB / 0.7246 GB, free: 9.414 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2081, allocations: 314.8 kB / 0.7249 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.2082, allocations: 8 kB / 0.7249 GB, free: 9.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.2082, allocations: 17.72 kB / 0.725 GB, free: 9.066 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.2082, allocations: 29.64 kB / 0.725 GB, free: 9.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2082, allocations: 0 / 0.725 GB, free: 9.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.85e-05/0.2083, allocations: 49.62 kB / 0.725 GB, free: 8.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2083, allocations: 4 kB / 0.725 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2083, allocations: 0 / 0.725 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2083, allocations: 8.062 kB / 0.725 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.349e-05/0.2084, allocations: 8 kB / 0.7251 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2084, allocations: 0 / 0.7251 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.2084, allocations: 3.938 kB / 0.7251 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.2084, allocations: 4 kB / 0.7251 GB, free: 8.949 MB / 0.545 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.33e-05/0.2085, allocations: 109.8 kB / 0.7252 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.2085, allocations: 7.984 kB / 0.7252 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.2087, allocations: 120.9 kB / 0.7253 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.645e-05/0.2088, allocations: 180.3 kB / 0.7255 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.773e-05/0.2088, allocations: 176.3 kB / 0.7256 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/0.2089, allocations: 184.2 kB / 0.7258 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.2092, allocations: 384.2 kB / 0.7262 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-05/0.2093, allocations: 108.9 kB / 0.7263 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.2093, allocations: 105 kB / 0.7264 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-05/0.2094, allocations: 180.3 kB / 0.7265 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.685e-05/0.2095, allocations: 180.2 kB / 0.7267 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.525e-05/0.2096, allocations: 184.2 kB / 0.7269 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.844e-05/0.2097, allocations: 184.2 kB / 0.7271 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.2099, allocations: 307.8 kB / 0.7274 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.2099, allocations: 108.9 kB / 0.7275 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.21, allocations: 184.2 kB / 0.7276 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.2102, allocations: 108.9 kB / 0.7277 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.2103, allocations: 180.3 kB / 0.7279 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.2103, allocations: 105 kB / 0.728 GB, free: 5.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.736e-05/0.2104, allocations: 91.2 kB / 0.7281 GB, free: 5.637 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2104, allocations: 0 / 0.7281 GB, free: 5.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002547/0.2107, allocations: 19.88 kB / 0.7281 GB, free: 5.617 MB / 0.545 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.0005496/0.2112, allocations: 0.8282 MB / 0.7289 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.2113, allocations: 7.938 kB / 0.7289 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2113, allocations: 0 / 0.7289 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.2113, allocations: 0 / 0.7289 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.2118, allocations: 463.7 kB / 0.7294 GB, free: 4.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.213, allocations: 1.333 MB / 0.7307 GB, free: 2.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.2134, allocations: 0.669 MB / 0.7313 GB, free: 2.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.026e-05/0.2134, allocations: 12.41 kB / 0.7314 GB, free: 2.168 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.2134, allocations: 7.438 kB / 0.7314 GB, free: 2.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2134, allocations: 4 kB / 0.7314 GB, free: 2.156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.2425, allocations: 1.602 MB / 0.7329 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.25, allocations: 10.75 kB / 0.7329 GB, free: 0.6836 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion_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_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.044650040003035] Failed to read output from testmodel.py, exit status != 0: 11.3578150070025 11.382709342 11.17238841 Calling exit ...