Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001269/0.001269, allocations: 120 kB / 17.17 MB, free: 5.977 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.00139/0.00139, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002676/0.002676, allocations: 280.5 kB / 309.8 MB, free: 3.477 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.091/1.091, allocations: 180.6 MB / 0.5338 GB, free: 12.37 MB / 398.1 MB " [Timeout remaining time 178] 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_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.00283/0.00283, allocations: 99.84 kB / 0.7347 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5939/0.5967, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003335/0.6, allocations: 1.958 MB / 0.8297 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2164/0.8164, allocations: 158.8 MB / 0.9847 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.8167, allocations: 7.938 kB / 0.9847 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.8169, allocations: 27.72 kB / 0.9848 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.8172, allocations: 71.42 kB / 0.9848 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.8181, allocations: 267.1 kB / 0.9851 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.8185, allocations: 263.1 kB / 0.9853 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.8187, allocations: 54.41 kB / 0.9854 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.8203, allocations: 241.9 kB / 0.9856 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.8205, allocations: 103.5 kB / 0.9857 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.8205, allocations: 16 kB / 0.9857 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.8209, allocations: 191.7 kB / 0.9859 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.821, allocations: 47.83 kB / 0.986 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.8211, allocations: 91.52 kB / 0.986 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.8217, allocations: 294.7 kB / 0.9863 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.8217, allocations: 0 / 0.9863 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8217, allocations: 0 / 0.9863 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.8217, allocations: 0 / 0.9863 GB, free: 7.273 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001099/0.8228, allocations: 0.5374 MB / 0.9868 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.8229, allocations: 12.03 kB / 0.9869 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.718e-05/0.8229, allocations: 4.328 kB / 0.9869 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.8229, allocations: 54.55 kB / 0.9869 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.8241, allocations: 115.8 kB / 0.987 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.8245, allocations: 236.1 kB / 0.9872 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.8246, allocations: 38.03 kB / 0.9873 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.8246, allocations: 16 kB / 0.9873 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005993/0.8252, allocations: 258.6 kB / 0.9875 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.8252, allocations: 0 / 0.9875 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.8253, allocations: 12 kB / 0.9876 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.8253, allocations: 4 kB / 0.9876 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.8258, allocations: 167.8 kB / 0.9877 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.8276, allocations: 1.188 MB / 0.9889 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/0.8283, allocations: 190.7 kB / 0.9891 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.8285, allocations: 76.75 kB / 0.9891 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.8286, allocations: 0 / 0.9891 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.8286, allocations: 42.44 kB / 0.9892 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.893e-06/0.8286, allocations: 0 / 0.9892 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.00279/0.8314, allocations: 0.6181 MB / 0.9898 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.8314, allocations: 55.41 kB / 0.9898 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.8317, allocations: 218.9 kB / 0.99 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.8318, allocations: 29.7 kB / 0.9901 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.8319, allocations: 144.2 kB / 0.9902 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.8319, allocations: 43.64 kB / 0.9902 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.832, allocations: 49.62 kB / 0.9903 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8322, allocations: 326.8 kB / 0.9906 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.8324, allocations: 71.94 kB / 0.9907 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.8327, allocations: 123.7 kB / 0.9908 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.8332, allocations: 209 kB / 0.991 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8332, allocations: 0 / 0.991 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001525/0.8347, allocations: 371 kB / 0.9913 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.8347, allocations: 8 kB / 0.9914 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8347, allocations: 3.938 kB / 0.9914 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.8358, allocations: 161.5 kB / 0.9915 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.836, allocations: 43.91 kB / 0.9916 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004423/0.8405, allocations: 3.259 MB / 0.9947 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.8408, allocations: 35.89 kB / 0.9948 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.8408, allocations: 15.92 kB / 0.9948 GB, free: 13.93 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.841, allocations: 133.9 kB / 0.9949 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.8411, allocations: 15.91 kB / 0.9949 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.8424, allocations: 377.8 kB / 0.9953 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8424, allocations: 0 / 0.9953 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.8424, allocations: 0 / 0.9953 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8424, allocations: 8 kB / 0.9953 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.8428, allocations: 273.4 kB / 0.9956 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8428, allocations: 0 / 0.9956 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.8429, allocations: 23.98 kB / 0.9956 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008543/0.8438, allocations: 141.5 kB / 0.9957 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.8438, allocations: 0 / 0.9957 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003969/0.8478, allocations: 3.305 MB / 0.9989 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8478, allocations: 0 / 0.9989 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.8491, allocations: 424.8 kB / 0.9993 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.8493, allocations: 128.8 kB / 0.9995 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.8493, allocations: 3.984 kB / 0.9995 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.8496, allocations: 15.98 kB / 0.9995 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.8497, allocations: 15.98 kB / 0.9995 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.8497, allocations: 7.984 kB / 0.9995 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002387/0.8499, allocations: 159.2 kB / 0.9997 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8499, allocations: 0 / 0.9997 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004795/0.8504, allocations: 75.86 kB / 0.9997 GB, free: 8.449 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001808/0.8522, allocations: 0.9832 MB / 1.001 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.8535, allocations: 449.7 kB / 1.001 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8535, allocations: 0 / 1.001 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007394/0.8542, allocations: 351.2 kB / 1.001 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.8547, allocations: 60.19 kB / 1.002 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.8604, allocations: 2.529 MB / 1.004 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.8608, allocations: 0.7363 MB / 1.005 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001899/0.861, allocations: 33.94 kB / 1.005 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.8611, allocations: 51.41 kB / 1.005 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of SimCode: time 8.01e-07/0.8611, allocations: 0 / 1.005 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.8922, allocations: 7.393 MB / 1.012 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.07, allocations: 13.61 kB / 1.012 GB, free: 11.91 MB / 0.7481 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.288981789024547] Failed to read output from testmodel.py, exit status != 0: 13.227180340967607 13.248053503 12.422733017 Calling exit ...