Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.0009514/0.0009514, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009837/0.0009837, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8722/0.8722, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001321/0.001321, allocations: 241.8 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.65/0.65, allocations: 138.4 MB / 454.3 MB, free: 30.06 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.076e-05, allocations: 8.469 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001688/0.001709, allocations: 1.314 MB / 0.6476 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2338/0.2355, allocations: 0.5279 MB / 0.6481 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.2356, allocations: 0 / 0.6481 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.2356, allocations: 0.6562 kB / 0.6481 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.2357, allocations: 6.953 kB / 0.6481 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.2361, allocations: 104.5 kB / 0.6482 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.2362, allocations: 20.27 kB / 0.6482 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.2362, allocations: 4.375 kB / 0.6482 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.277e-05/0.2363, allocations: 7.516 kB / 0.6482 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.2363, allocations: 4.344 kB / 0.6482 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.2363, allocations: 2.031 kB / 0.6482 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.2366, allocations: 142.6 kB / 0.6484 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.2366, allocations: 1.828 kB / 0.6484 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.2366, allocations: 7.203 kB / 0.6484 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.2369, allocations: 109.2 kB / 0.6485 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2369, allocations: 0.9062 kB / 0.6485 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2369, allocations: 0.6562 kB / 0.6485 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2369, allocations: 0 / 0.6485 GB, free: 55.77 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003138/0.2372, allocations: 270.1 kB / 0.6487 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2372, allocations: 12.22 kB / 0.6488 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.2373, allocations: 31.97 kB / 0.6488 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.2376, allocations: 39.2 kB / 0.6488 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.095e-05/0.2376, allocations: 103.2 kB / 0.6489 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2376, allocations: 3.109 kB / 0.6489 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.2376, allocations: 1.906 kB / 0.6489 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.2378, allocations: 48.16 kB / 0.649 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.2378, allocations: 3.188 kB / 0.649 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.599e-06/0.2378, allocations: 1.562 kB / 0.649 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2378, allocations: 4.781 kB / 0.649 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.047e-05/0.2379, allocations: 25.25 kB / 0.649 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.238, allocations: 125 kB / 0.6491 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.2381, allocations: 44.22 kB / 0.6492 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.2381, allocations: 17.7 kB / 0.6492 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.2381, allocations: 1.172 kB / 0.6492 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.2381, allocations: 35.09 kB / 0.6492 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.2381, allocations: 2.656 kB / 0.6492 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002103/0.2384, allocations: 74.94 kB / 0.6493 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.2384, allocations: 57.02 kB / 0.6493 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.835e-05/0.2384, allocations: 102.4 kB / 0.6494 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-06/0.2384, allocations: 25.7 kB / 0.6495 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.065e-05/0.2384, allocations: 85.23 kB / 0.6495 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.2385, allocations: 6.391 kB / 0.6496 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.2385, allocations: 18.19 kB / 0.6496 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.724e-05/0.2385, allocations: 312.5 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.921e-05/0.2386, allocations: 15.53 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.2386, allocations: 12.55 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.444e-05/0.2387, allocations: 36.75 kB / 0.6499 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2387, allocations: 0 / 0.6499 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.717e-05/0.2388, allocations: 57.41 kB / 0.65 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2388, allocations: 5.25 kB / 0.65 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2388, allocations: 1.547 kB / 0.65 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2388, allocations: 0 / 0.65 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.2389, allocations: 14.16 kB / 0.65 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2389, allocations: 1.609 kB / 0.65 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.2389, allocations: 2.953 kB / 0.65 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2389, allocations: 1.859 kB / 0.65 GB, free: 54.39 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.971e-05/0.2389, allocations: 112.3 kB / 0.6501 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-06/0.239, allocations: 9.422 kB / 0.6501 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.239, allocations: 4.312 kB / 0.6501 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.239, allocations: 0.7969 kB / 0.6501 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.239, allocations: 7.031 kB / 0.6501 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.239, allocations: 0 / 0.6501 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.289e-05/0.2391, allocations: 128.8 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.2391, allocations: 1.719 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.2391, allocations: 8.578 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2391, allocations: 1.469 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2391, allocations: 1.906 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2391, allocations: 1.516 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2391, allocations: 7.875 kB / 0.6503 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.2392, allocations: 82.7 kB / 0.6504 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.2393, allocations: 9.688 kB / 0.6504 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.2393, allocations: 4.922 kB / 0.6504 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.2393, allocations: 6.812 kB / 0.6504 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.2393, allocations: 10.3 kB / 0.6504 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2393, allocations: 3.25 kB / 0.6504 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.529e-05/0.2393, allocations: 78.3 kB / 0.6505 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2393, allocations: 0.875 kB / 0.6505 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001503/0.2395, allocations: 12.02 kB / 0.6505 GB, free: 53.96 MB / 0.5573 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 (2): * Single equations (assignments): 2 * 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.0002802/0.2398, allocations: 0.6343 MB / 0.6511 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.2399, allocations: 29.64 kB / 0.6511 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2399, allocations: 0.7812 kB / 0.6511 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.2399, allocations: 15.61 kB / 0.6511 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.2401, allocations: 10.34 kB / 0.6512 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.2405, allocations: 139.6 kB / 0.6513 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.942e-05/0.2405, allocations: 60.38 kB / 0.6513 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.481e-05/0.2405, allocations: 16.38 kB / 0.6514 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.2406, allocations: 13.38 kB / 0.6514 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of SimCode: time 5.41e-07/0.2406, allocations: 0 / 0.6514 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.2568, allocations: 2.295 MB / 0.6536 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.414/6.671, allocations: 5.062 kB / 0.6536 GB, free: 52.35 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.279898941516876] Failed to read output from testmodel.py, exit status != 0: 6.748962180688977 6.758628431 6.519787767 Calling exit ...