Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001538/0.001538, allocations: 105.7 kB / 16.45 MB, free: 6.453 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.001606/0.001606, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.9285/0.9285, allocations: 144.9 MB / 453.8 MB, free: 0.7305 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.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.002034/0.002034, allocations: 66.41 kB / 0.628 GB, free: 10.69 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2252, allocations: 87.83 MB / 0.7138 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006752/0.2319, allocations: 3.8 MB / 0.7175 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002564/0.2322, allocations: 167.5 kB / 0.7176 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.2322, allocations: 0 / 0.7176 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.2324, allocations: 3.938 kB / 0.7177 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.2325, allocations: 15.92 kB / 0.7177 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.2329, allocations: 79.75 kB / 0.7177 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.233, allocations: 39.84 kB / 0.7178 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.233, allocations: 0 / 0.7178 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.376e-05/0.2331, allocations: 19.97 kB / 0.7178 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.741e-05/0.2332, allocations: 11.92 kB / 0.7178 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.2332, allocations: 7.938 kB / 0.7178 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006607/0.2339, allocations: 199.7 kB / 0.718 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.2339, allocations: 11.97 kB / 0.718 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.2339, allocations: 11.94 kB / 0.718 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.2341, allocations: 63.8 kB / 0.7181 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2341, allocations: 4 kB / 0.7181 GB, free: 14.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2341, allocations: 0 / 0.7181 GB, free: 14.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.2341, allocations: 0 / 0.7181 GB, free: 14.42 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.0005858/0.2347, allocations: 335.4 kB / 0.7184 GB, free: 14.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.2348, allocations: 12.03 kB / 0.7184 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.2348, allocations: 30.75 kB / 0.7185 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.2349, allocations: 0.9375 kB / 0.7185 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.2351, allocations: 180.3 kB / 0.7186 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.2352, allocations: 26.27 kB / 0.7187 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.2352, allocations: 12.06 kB / 0.7187 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2354, allocations: 45.62 kB / 0.7187 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2354, allocations: 0 / 0.7187 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2354, allocations: 0 / 0.7187 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.2354, allocations: 0 / 0.7187 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.2355, allocations: 19.98 kB / 0.7187 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.2361, allocations: 330 kB / 0.719 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.2361, allocations: 26.52 kB / 0.7191 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.2361, allocations: 4.859 kB / 0.7191 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.2363, allocations: 85.16 kB / 0.7192 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.2363, allocations: 34.56 kB / 0.7192 GB, free: 13.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.2363, allocations: 4 kB / 0.7192 GB, free: 13.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001834/0.2365, allocations: 29.7 kB / 0.7192 GB, free: 13.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.2366, allocations: 55.53 kB / 0.7193 GB, free: 12.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.2367, allocations: 109.8 kB / 0.7194 GB, free: 12.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.2367, allocations: 25.7 kB / 0.7194 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.2368, allocations: 84.09 kB / 0.7195 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.2368, allocations: 3.953 kB / 0.7195 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.2369, allocations: 17.72 kB / 0.7195 GB, free: 12.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002248/0.2371, allocations: 322.8 kB / 0.7198 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.2371, allocations: 0 / 0.7198 GB, free: 12.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.2372, allocations: 21.72 kB / 0.7198 GB, free: 12.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.2372, allocations: 21.7 kB / 0.7199 GB, free: 12.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2372, allocations: 0 / 0.7199 GB, free: 12.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.351e-05/0.2373, allocations: 45.64 kB / 0.7199 GB, free: 12.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2373, allocations: 4 kB / 0.7199 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.2373, allocations: 7.984 kB / 0.7199 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2373, allocations: 0 / 0.7199 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.2374, allocations: 8.062 kB / 0.7199 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2374, allocations: 0 / 0.7199 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.2375, allocations: 4.281 kB / 0.7199 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.2375, allocations: 0 / 0.7199 GB, free: 12.27 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 0.0001028/0.2376, allocations: 121.7 kB / 0.72 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.2376, allocations: 4 kB / 0.72 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.2378, allocations: 127.6 kB / 0.7202 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.643e-05/0.2379, allocations: 180.3 kB / 0.7203 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001183/0.238, allocations: 188.2 kB / 0.7205 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000149/0.2381, allocations: 180.2 kB / 0.7207 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.2384, allocations: 413 kB / 0.7211 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.978e-05/0.2385, allocations: 109 kB / 0.7212 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.2385, allocations: 109 kB / 0.7213 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.184e-05/0.2386, allocations: 180.2 kB / 0.7215 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.2387, allocations: 176.3 kB / 0.7216 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-05/0.2388, allocations: 180.2 kB / 0.7218 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001192/0.2389, allocations: 180.3 kB / 0.722 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.2391, allocations: 315.7 kB / 0.7223 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.2391, allocations: 178.1 kB / 0.7224 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/0.2392, allocations: 184.2 kB / 0.7226 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.2394, allocations: 105 kB / 0.7227 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2395, allocations: 188.2 kB / 0.7229 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/0.2395, allocations: 109 kB / 0.723 GB, free: 8.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.078e-05/0.2396, allocations: 83.27 kB / 0.7231 GB, free: 8.809 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2396, allocations: 0 / 0.7231 GB, free: 8.809 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002697/0.2399, allocations: 19.88 kB / 0.7231 GB, free: 8.789 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.0007251/0.2406, allocations: 0.8282 MB / 0.7239 GB, free: 7.934 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.2407, allocations: 12 kB / 0.7239 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2407, allocations: 0 / 0.7239 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.2407, allocations: 0 / 0.7239 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.2414, allocations: 455.7 kB / 0.7244 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.2429, allocations: 1.332 MB / 0.7257 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.2434, allocations: 0.6728 MB / 0.7263 GB, free: 5.355 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.748e-05/0.2435, allocations: 7.984 kB / 0.7263 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.2435, allocations: 11.44 kB / 0.7263 GB, free: 5.336 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.2435, allocations: 0 / 0.7263 GB, free: 5.336 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.2675, allocations: 1.527 MB / 0.7278 GB, free: 3.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.093, allocations: 13.23 kB / 0.7278 GB, free: 3.953 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_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_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.85022881400073] Failed to read output from testmodel.py, exit status != 0: 8.161831991004874 8.17543801 7.938360992 Calling exit ...