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.001349/0.001349, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001624/0.001624, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.511/1.511, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.00381/0.00381, allocations: 283.3 kB / 309.8 MB, free: 3.426 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.072/1.072, allocations: 180.6 MB / 0.5338 GB, free: 12.33 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="cs",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.002817/0.002817, allocations: 91.86 kB / 0.7347 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5302/0.533, allocations: 95.33 MB / 0.8278 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002474/0.5355, allocations: 1.713 MB / 0.8294 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1922/0.7277, allocations: 153 MB / 0.9788 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.7278, allocations: 3.938 kB / 0.9788 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.728, allocations: 23.8 kB / 0.9789 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.7282, allocations: 47.64 kB / 0.9789 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.7287, allocations: 191.3 kB / 0.9791 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.729, allocations: 163.5 kB / 0.9792 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.7291, allocations: 25.09 kB / 0.9793 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.7305, allocations: 206.4 kB / 0.9795 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.7306, allocations: 63.69 kB / 0.9795 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.7306, allocations: 11.94 kB / 0.9795 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.731, allocations: 171.8 kB / 0.9797 GB, free: 14 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.731, allocations: 31.89 kB / 0.9797 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.7311, allocations: 55.73 kB / 0.9798 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.7315, allocations: 214.1 kB / 0.98 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.7315, allocations: 0 / 0.98 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7315, allocations: 0 / 0.98 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.954e-06/0.7315, allocations: 0 / 0.98 GB, free: 13.71 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.001002/0.7325, allocations: 482.5 kB / 0.9804 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.7326, allocations: 8.031 kB / 0.9805 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.264e-05/0.7326, allocations: 4.188 kB / 0.9805 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.7326, allocations: 42.73 kB / 0.9805 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008958/0.7335, allocations: 80.38 kB / 0.9806 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.7338, allocations: 204.7 kB / 0.9808 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.7338, allocations: 8 kB / 0.9808 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.7338, allocations: 4 kB / 0.9808 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.7343, allocations: 185.8 kB / 0.981 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.7343, allocations: 4 kB / 0.981 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.7344, allocations: 4 kB / 0.981 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.7344, allocations: 4 kB / 0.981 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.7349, allocations: 147.7 kB / 0.9811 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.7361, allocations: 0.8206 MB / 0.9819 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.7366, allocations: 126.5 kB / 0.982 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.7368, allocations: 76.78 kB / 0.9821 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.7368, allocations: 0 / 0.9821 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.7369, allocations: 38.5 kB / 0.9821 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.7369, allocations: 4 kB / 0.9821 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.002057/0.7389, allocations: 455.3 kB / 0.9826 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.739, allocations: 63.33 kB / 0.9826 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.7391, allocations: 144.1 kB / 0.9828 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.7392, allocations: 25.7 kB / 0.9828 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.7393, allocations: 112.3 kB / 0.9829 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.7393, allocations: 31.78 kB / 0.9829 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.7394, allocations: 37.66 kB / 0.983 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.7395, allocations: 318.8 kB / 0.9833 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.7398, allocations: 71.88 kB / 0.9834 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.7401, allocations: 104.2 kB / 0.9835 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.7406, allocations: 176.1 kB / 0.9836 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7406, allocations: 0 / 0.9836 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001108/0.7417, allocations: 282.1 kB / 0.9839 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.7417, allocations: 20.05 kB / 0.9839 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7418, allocations: 0 / 0.9839 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/0.7424, allocations: 76.77 kB / 0.984 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.7426, allocations: 39.97 kB / 0.984 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.7449, allocations: 1.661 MB / 0.9856 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.7452, allocations: 27.81 kB / 0.9857 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.7452, allocations: 7.984 kB / 0.9857 GB, free: 7.406 MB / 0.7169 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.0001186/0.7453, allocations: 121.3 kB / 0.9858 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.7454, allocations: 15.95 kB / 0.9858 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.7465, allocations: 310.9 kB / 0.9861 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.7465, allocations: 0 / 0.9861 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.7465, allocations: 0 / 0.9861 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7465, allocations: 4 kB / 0.9861 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.7468, allocations: 249.4 kB / 0.9863 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7468, allocations: 4 kB / 0.9863 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.747, allocations: 35.89 kB / 0.9864 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/0.7475, allocations: 76.72 kB / 0.9865 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.7475, allocations: 4 kB / 0.9865 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.7496, allocations: 1.686 MB / 0.9881 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7496, allocations: 0 / 0.9881 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.7507, allocations: 376.1 kB / 0.9885 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.7508, allocations: 104.9 kB / 0.9886 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.7508, allocations: 7.938 kB / 0.9886 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.7511, allocations: 19.98 kB / 0.9886 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.7511, allocations: 11.98 kB / 0.9886 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.7512, allocations: 7.984 kB / 0.9886 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.7512, allocations: 116.7 kB / 0.9887 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7512, allocations: 3.938 kB / 0.9887 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000442/0.7517, allocations: 40 kB / 0.9888 GB, free: 3.992 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 (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.001559/0.7532, allocations: 0.9254 MB / 0.9897 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009524/0.7542, allocations: 298.7 kB / 0.99 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7542, allocations: 0 / 0.99 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005661/0.7548, allocations: 234.5 kB / 0.9902 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.7551, allocations: 29.03 kB / 0.9902 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.7593, allocations: 2.074 MB / 0.9922 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.7597, allocations: 0.7124 MB / 0.9929 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.7598, allocations: 24.81 kB / 0.9929 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.7599, allocations: 39.41 kB / 0.993 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.7599, allocations: 0 / 0.993 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.7869, allocations: 4.819 MB / 0.9977 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.99, allocations: 24.56 kB / 0.9977 GB, free: 10.88 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.194094503996894] Failed to read output from testmodel.py, exit status != 0: 13.13466691604117 13.152338113 12.41690023 Calling exit ...