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.001817/0.001817, 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.002353/0.002353, allocations: 218.8 kB / 22.26 MB, free: 5.121 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.957 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.002529/0.002529, allocations: 291.2 kB / 312.7 MB, free: 2.77 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.265/1.265, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.00301/0.00301, allocations: 107.9 kB / 0.7396 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2085, allocations: 95.39 MB / 0.8327 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003171/0.2116, allocations: 1.692 MB / 0.8344 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6602/0.8719, allocations: 153 MB / 0.9838 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.872, allocations: 3.062 kB / 0.9838 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.8722, allocations: 26.33 kB / 0.9839 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.8725, allocations: 54.97 kB / 0.9839 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.873, allocations: 188.4 kB / 0.9841 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.8733, allocations: 161.9 kB / 0.9843 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.8734, allocations: 21.03 kB / 0.9843 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.8749, allocations: 207.3 kB / 0.9845 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.875, allocations: 60.55 kB / 0.9845 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.8751, allocations: 10.16 kB / 0.9845 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.8755, allocations: 178.7 kB / 0.9847 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.8755, allocations: 27.52 kB / 0.9847 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.8756, allocations: 50.25 kB / 0.9848 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.876, allocations: 211.2 kB / 0.985 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.876, allocations: 4.969 kB / 0.985 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.876, allocations: 0 / 0.985 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.876, allocations: 2.062 kB / 0.985 GB, free: 3.559 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.001/0.877, allocations: 402.3 kB / 0.9854 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8771, allocations: 10.56 kB / 0.9854 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.8771, allocations: 41.88 kB / 0.9854 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008992/0.878, allocations: 70.81 kB / 0.9855 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.8782, allocations: 156.9 kB / 0.9856 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.8783, allocations: 8.688 kB / 0.9857 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.8783, allocations: 4.25 kB / 0.9857 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.8787, allocations: 188 kB / 0.9858 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8787, allocations: 0 / 0.9858 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.8787, allocations: 4.625 kB / 0.9858 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.8788, allocations: 3.094 kB / 0.9858 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004691/0.8792, allocations: 145.5 kB / 0.986 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.8805, allocations: 0.7993 MB / 0.9868 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.8808, allocations: 129 kB / 0.9869 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.8811, allocations: 75.42 kB / 0.987 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.8811, allocations: 4.672 kB / 0.987 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.8811, allocations: 33.25 kB / 0.987 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.8811, allocations: 0 / 0.987 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.002056/0.8832, allocations: 381 kB / 0.9874 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.8832, allocations: 53.19 kB / 0.9874 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.8834, allocations: 151.6 kB / 0.9876 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.8834, allocations: 35 kB / 0.9876 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.8835, allocations: 117.1 kB / 0.9877 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.8836, allocations: 25.41 kB / 0.9877 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.018e-05/0.8836, allocations: 37.97 kB / 0.9878 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8838, allocations: 323.8 kB / 0.9881 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.8841, allocations: 70.33 kB / 0.9881 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.8844, allocations: 103.2 kB / 0.9882 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.8849, allocations: 176.6 kB / 0.9884 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8849, allocations: 1.562 kB / 0.9884 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001136/0.886, allocations: 282.7 kB / 0.9887 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.886, allocations: 6.094 kB / 0.9887 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.886, allocations: 5.844 kB / 0.9887 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006531/0.8867, allocations: 88.95 kB / 0.9888 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.8869, allocations: 37.03 kB / 0.9888 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.8892, allocations: 1.554 MB / 0.9903 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.8895, allocations: 27.97 kB / 0.9903 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.8895, allocations: 7.125 kB / 0.9904 GB, free: 16.19 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.0001539/0.8896, allocations: 122.8 kB / 0.9905 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.8897, allocations: 9.266 kB / 0.9905 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.8908, allocations: 306.8 kB / 0.9908 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.8908, allocations: 8.875 kB / 0.9908 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.8908, allocations: 0.7969 kB / 0.9908 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.8908, allocations: 1.547 kB / 0.9908 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.8911, allocations: 211 kB / 0.991 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8911, allocations: 0 / 0.991 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.8913, allocations: 39.23 kB / 0.991 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/0.8918, allocations: 76.72 kB / 0.9911 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.8918, allocations: 7.406 kB / 0.9911 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.8937, allocations: 1.592 MB / 0.9927 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8937, allocations: 2.781 kB / 0.9927 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.8947, allocations: 377.6 kB / 0.993 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.8947, allocations: 31 kB / 0.9931 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.8948, allocations: 3.609 kB / 0.9931 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.895, allocations: 11.7 kB / 0.9931 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.895, allocations: 20.75 kB / 0.9931 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.895, allocations: 8.297 kB / 0.9931 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.492e-05/0.8951, allocations: 118 kB / 0.9932 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8951, allocations: 1 kB / 0.9932 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003563/0.8955, allocations: 39.62 kB / 0.9932 GB, free: 14.35 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.001416/0.8969, allocations: 0.9307 MB / 0.9942 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009252/0.8978, allocations: 299.9 kB / 0.9944 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8978, allocations: 0.6094 kB / 0.9944 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005111/0.8983, allocations: 224.9 kB / 0.9947 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.8987, allocations: 34.12 kB / 0.9947 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.9027, allocations: 2.057 MB / 0.9967 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.903, allocations: 0.708 MB / 0.9974 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001675/0.9032, allocations: 28.75 kB / 0.9974 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.9033, allocations: 34.28 kB / 0.9974 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/0.9033, allocations: 1.812 kB / 0.9974 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.9393, allocations: 4.908 MB / 1.002 GB, free: 11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.52, allocations: 10.34 kB / 1.002 GB, free: 11 MB / 0.7325 GB " [Timeout remaining time 646] (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.771860314998776] Failed to read output from testmodel.py, exit status != 0: 13.634485200978816 13.648084684 12.769393422 Calling exit ...