Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.002025/0.002025, allocations: 108.2 kB / 16.45 MB, free: 6.508 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.002327/0.002327, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002576/0.002576, allocations: 284.1 kB / 309.1 MB, free: 3.992 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.254/1.254, allocations: 180.9 MB / 0.5333 GB, free: 13.78 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002924/0.002924, allocations: 100.2 kB / 0.7342 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2065, allocations: 95.34 MB / 0.8273 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002544/0.2091, allocations: 1.321 MB / 0.8286 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1902/0.3993, allocations: 150.9 MB / 0.976 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.3993, allocations: 0 / 0.976 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.3994, allocations: 3.984 kB / 0.976 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.3994, allocations: 7.938 kB / 0.976 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.3999, allocations: 119.4 kB / 0.9761 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.414e-05/0.3999, allocations: 23.86 kB / 0.9762 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.4, allocations: 4 kB / 0.9762 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.4, allocations: 7.938 kB / 0.9762 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.742e-05/0.4001, allocations: 7.984 kB / 0.9762 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.4001, allocations: 0 / 0.9762 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.4005, allocations: 175.7 kB / 0.9763 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.4005, allocations: 7.938 kB / 0.9764 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.4005, allocations: 8 kB / 0.9764 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.4008, allocations: 119.8 kB / 0.9765 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4008, allocations: 0 / 0.9765 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4008, allocations: 0 / 0.9765 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.4008, allocations: 0 / 0.9765 GB, free: 0.5391 MB / 0.7169 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.0003949/0.4012, allocations: 355.2 kB / 0.9768 GB, free: 148 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4012, allocations: 8.031 kB / 0.9768 GB, free: 140 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.4012, allocations: 34.75 kB / 0.9769 GB, free: 96 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005697/0.4018, allocations: 40.84 kB / 0.9769 GB, free: 56 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3852/0.787, allocations: 163.1 kB / 0.9771 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.787, allocations: 4.75 kB / 0.9771 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.7871, allocations: 4.016 kB / 0.9771 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.7873, allocations: 46.84 kB / 0.9771 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.7873, allocations: 3.656 kB / 0.9771 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.7873, allocations: 3.875 kB / 0.9771 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.7873, allocations: 1.109 kB / 0.9771 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.7875, allocations: 20.31 kB / 0.9771 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.7878, allocations: 248.2 kB / 0.9774 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.7878, allocations: 24.78 kB / 0.9774 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.7879, allocations: 9.328 kB / 0.9774 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.7879, allocations: 1.219 kB / 0.9774 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.7879, allocations: 43.16 kB / 0.9774 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.7879, allocations: 0.5 kB / 0.9774 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.7881, allocations: 39.86 kB / 0.9775 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.7881, allocations: 55.12 kB / 0.9775 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.7882, allocations: 112 kB / 0.9776 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-06/0.7882, allocations: 29.64 kB / 0.9777 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.7882, allocations: 87.45 kB / 0.9778 GB, free: 154 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-06/0.7882, allocations: 10.05 kB / 0.9778 GB, free: 154 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.7883, allocations: 18.7 kB / 0.9778 GB, free: 154 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.7883, allocations: 316.3 kB / 0.9781 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.7884, allocations: 8.781 kB / 0.9781 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.7885, allocations: 10.62 kB / 0.9781 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.58e-05/0.7886, allocations: 28.16 kB / 0.9781 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7886, allocations: 0.875 kB / 0.9781 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001925/0.7888, allocations: 62.55 kB / 0.9782 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.7888, allocations: 9.859 kB / 0.9782 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7888, allocations: 0 / 0.9782 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7888, allocations: 1.031 kB / 0.9782 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.7889, allocations: 10.2 kB / 0.9782 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.7889, allocations: 2.078 kB / 0.9782 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.7891, allocations: 11.27 kB / 0.9782 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.7891, allocations: 3.094 kB / 0.9782 GB, free: 153.6 MB / 0.7169 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 (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 4.352e-05/0.7891, allocations: 112.4 kB / 0.9783 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.7891, allocations: 9.609 kB / 0.9783 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.7892, allocations: 8.766 kB / 0.9783 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7892, allocations: 2.281 kB / 0.9784 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7892, allocations: 1.781 kB / 0.9784 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.7892, allocations: 0 / 0.9784 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.7893, allocations: 152.1 kB / 0.9785 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.7893, allocations: 1 kB / 0.9785 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.7893, allocations: 2.812 kB / 0.9785 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7893, allocations: 7.031 kB / 0.9785 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.7893, allocations: 2.703 kB / 0.9785 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.7893, allocations: 0 / 0.9785 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7893, allocations: 4.031 kB / 0.9785 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.269e-05/0.7894, allocations: 132.3 kB / 0.9786 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.7894, allocations: 83.45 kB / 0.9787 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.7894, allocations: 4.828 kB / 0.9787 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.632e-05/0.7895, allocations: 5.953 kB / 0.9787 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.7895, allocations: 1.922 kB / 0.9787 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.7895, allocations: 4.5 kB / 0.9787 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.759e-05/0.7896, allocations: 94.02 kB / 0.9788 GB, free: 153 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7896, allocations: 0.8438 kB / 0.9788 GB, free: 153 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002556/0.7899, allocations: 15.33 kB / 0.9788 GB, free: 153 MB / 0.7169 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.0002893/0.7902, allocations: 0.6936 MB / 0.9795 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.7903, allocations: 18.3 kB / 0.9795 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7903, allocations: 0 / 0.9795 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.297e-05/0.7903, allocations: 11.31 kB / 0.9795 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.7907, allocations: 11.11 kB / 0.9796 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.7911, allocations: 150.2 kB / 0.9797 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.125e-05/0.7912, allocations: 0.6753 MB / 0.9804 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.449e-05/0.7912, allocations: 9.797 kB / 0.9804 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.7912, allocations: 13.38 kB / 0.9804 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.7912, allocations: 0.75 kB / 0.9804 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.8141, allocations: 1.629 MB / 0.982 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.683, allocations: 6.453 kB / 0.982 GB, free: 151.1 MB / 0.7169 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_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_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.130446332041174] Failed to read output from testmodel.py, exit status != 0: 8.75342373503372 8.77756084 8.371707043 Calling exit ...