Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.001343/0.001343, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001416/0.001416, allocations: 221.7 kB / 22.26 MB, free: 5.125 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] 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.002513/0.002513, allocations: 286.8 kB / 312.7 MB, free: 2.766 MB / 238.1 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 1.18/1.18, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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 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.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.002855/0.002855, allocations: 101.8 kB / 0.7396 GB, free: 28.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1954, allocations: 95.39 MB / 0.8327 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003074/0.1984, allocations: 1.712 MB / 0.8344 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5772/0.7756, allocations: 153 MB / 0.9838 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.7757, allocations: 0.9688 kB / 0.9838 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.7759, allocations: 26.55 kB / 0.9839 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.7761, allocations: 57.02 kB / 0.9839 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.7766, allocations: 187.7 kB / 0.9841 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.7768, allocations: 167.7 kB / 0.9843 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.777, allocations: 20.67 kB / 0.9843 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.7783, allocations: 197.4 kB / 0.9845 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.7784, allocations: 64.55 kB / 0.9845 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.7785, allocations: 13.67 kB / 0.9846 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.7788, allocations: 176.6 kB / 0.9847 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.7788, allocations: 24.36 kB / 0.9847 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.382e-05/0.7789, allocations: 57.08 kB / 0.9848 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.7793, allocations: 204.5 kB / 0.985 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7793, allocations: 0.8125 kB / 0.985 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7793, allocations: 0.9375 kB / 0.985 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7793, allocations: 0.9375 kB / 0.985 GB, free: 3.539 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009594/0.7802, allocations: 407.1 kB / 0.9854 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.7803, allocations: 11.19 kB / 0.9854 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.7803, allocations: 38.53 kB / 0.9854 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008701/0.7812, allocations: 75.78 kB / 0.9855 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.7814, allocations: 154.4 kB / 0.9856 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.7814, allocations: 7.531 kB / 0.9857 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.7814, allocations: 11.5 kB / 0.9857 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.7818, allocations: 180.8 kB / 0.9858 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.7818, allocations: 3.719 kB / 0.9858 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.7819, allocations: 0.7188 kB / 0.9858 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7819, allocations: 2.344 kB / 0.9858 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.7823, allocations: 145.2 kB / 0.986 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.7835, allocations: 0.8012 MB / 0.9868 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.7839, allocations: 127.9 kB / 0.9869 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.7841, allocations: 72.34 kB / 0.987 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.7841, allocations: 5.781 kB / 0.987 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.7841, allocations: 35.78 kB / 0.987 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.7841, allocations: 1.812 kB / 0.987 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.002001/0.7861, allocations: 379.8 kB / 0.9874 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.7862, allocations: 53.28 kB / 0.9874 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.7863, allocations: 156 kB / 0.9876 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.7864, allocations: 26.64 kB / 0.9876 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.7864, allocations: 116.2 kB / 0.9877 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.7865, allocations: 29.3 kB / 0.9877 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.7865, allocations: 33.17 kB / 0.9878 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7867, allocations: 327.9 kB / 0.9881 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.7869, allocations: 66.89 kB / 0.9881 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.7872, allocations: 105.6 kB / 0.9882 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.7876, allocations: 177.7 kB / 0.9884 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7876, allocations: 0 / 0.9884 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001074/0.7887, allocations: 282.1 kB / 0.9887 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7887, allocations: 6.312 kB / 0.9887 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.7887, allocations: 2.109 kB / 0.9887 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/0.7894, allocations: 89.78 kB / 0.9888 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.7896, allocations: 39.44 kB / 0.9888 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.7917, allocations: 1.549 MB / 0.9903 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.7919, allocations: 30.33 kB / 0.9903 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.7919, allocations: 7.5 kB / 0.9904 GB, free: 16.18 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.792, allocations: 125.6 kB / 0.9905 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.7921, allocations: 8.734 kB / 0.9905 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.7932, allocations: 306 kB / 0.9908 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.7932, allocations: 3.938 kB / 0.9908 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.7932, allocations: 3.531 kB / 0.9908 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7932, allocations: 1.438 kB / 0.9908 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.7934, allocations: 213.8 kB / 0.991 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7934, allocations: 1.859 kB / 0.991 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.7936, allocations: 33.03 kB / 0.991 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004245/0.794, allocations: 75.44 kB / 0.9911 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.7941, allocations: 5.281 kB / 0.9911 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.7959, allocations: 1.593 MB / 0.9927 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7959, allocations: 0.6875 kB / 0.9927 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.7969, allocations: 381 kB / 0.993 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.797, allocations: 31.98 kB / 0.993 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.797, allocations: 4 kB / 0.9931 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.7972, allocations: 14.72 kB / 0.9931 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.7973, allocations: 20.83 kB / 0.9931 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.7973, allocations: 4.891 kB / 0.9931 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.189e-05/0.7974, allocations: 120.9 kB / 0.9932 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7974, allocations: 0 / 0.9932 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003585/0.7978, allocations: 40.72 kB / 0.9932 GB, free: 14.33 MB / 0.7325 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/0.7992, allocations: 0.9283 MB / 0.9941 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008708/0.8001, allocations: 300.3 kB / 0.9944 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8001, allocations: 0.5625 kB / 0.9944 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.8006, allocations: 224.5 kB / 0.9947 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.8009, allocations: 34.73 kB / 0.9947 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.8048, allocations: 2.066 MB / 0.9967 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.8052, allocations: 0.7081 MB / 0.9974 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.8054, allocations: 27.5 kB / 0.9974 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.8055, allocations: 36.64 kB / 0.9975 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of SimCode: time 9.41e-07/0.8055, allocations: 0 / 0.9975 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/0.8404, allocations: 4.902 MB / 1.002 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.07, allocations: 7.25 kB / 1.002 GB, free: 10.97 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_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_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.277487076000398] Failed to read output from testmodel.py, exit status != 0: 13.187245688000985 13.209050187 12.426188204 Calling exit ...