Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.00134/0.00134, allocations: 104 kB / 16.45 MB, free: 6.449 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.001558/0.001558, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 8.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9103/0.9103, allocations: 145 MB / 453.8 MB, free: 0.7734 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.001965/0.001965, allocations: 66.17 kB / 0.628 GB, free: 10.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1785, allocations: 87.82 MB / 0.7138 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003193/0.1817, allocations: 1.909 MB / 0.7156 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5814/0.7631, allocations: 158.8 MB / 0.8707 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.7633, allocations: 7.938 kB / 0.8707 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.7635, allocations: 23.73 kB / 0.8708 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.7638, allocations: 71.47 kB / 0.8708 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009166/0.7647, allocations: 267.1 kB / 0.8711 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.7651, allocations: 260.2 kB / 0.8713 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.7653, allocations: 58.28 kB / 0.8714 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.7668, allocations: 245.8 kB / 0.8716 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.767, allocations: 91.59 kB / 0.8717 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.767, allocations: 16 kB / 0.8717 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005062/0.7675, allocations: 195.7 kB / 0.8719 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.967e-05/0.7676, allocations: 35.91 kB / 0.8719 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.7678, allocations: 91.56 kB / 0.872 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.7683, allocations: 295.4 kB / 0.8723 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.7683, allocations: 4 kB / 0.8723 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7683, allocations: 0 / 0.8723 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.7683, allocations: 0 / 0.8723 GB, free: 14.16 MB / 0.6544 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.00118/0.7695, allocations: 0.5219 MB / 0.8728 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.7696, allocations: 12.02 kB / 0.8728 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.507e-05/0.7696, allocations: 42.56 kB / 0.8729 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.7709, allocations: 115.8 kB / 0.873 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.7713, allocations: 226.7 kB / 0.8732 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.813e-05/0.7714, allocations: 41.97 kB / 0.8732 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.7714, allocations: 19.98 kB / 0.8733 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.772, allocations: 262.6 kB / 0.8735 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.7721, allocations: 0 / 0.8735 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.7721, allocations: 7.984 kB / 0.8735 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.7721, allocations: 12 kB / 0.8735 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.7726, allocations: 163.8 kB / 0.8737 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.7745, allocations: 1.18 MB / 0.8748 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.7753, allocations: 198.6 kB / 0.875 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.7755, allocations: 72.75 kB / 0.8751 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.7755, allocations: 0 / 0.8751 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.7755, allocations: 34.56 kB / 0.8751 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.7755, allocations: 0 / 0.8751 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.002921/0.7784, allocations: 0.6187 MB / 0.8757 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.7785, allocations: 59.41 kB / 0.8758 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.7788, allocations: 195 kB / 0.876 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.7788, allocations: 33.7 kB / 0.876 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.779, allocations: 139.8 kB / 0.8761 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.779, allocations: 51.56 kB / 0.8762 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.7791, allocations: 41.69 kB / 0.8762 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7793, allocations: 334.7 kB / 0.8766 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.7795, allocations: 75.94 kB / 0.8766 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.7798, allocations: 129.3 kB / 0.8768 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.7803, allocations: 202 kB / 0.8769 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7803, allocations: 0 / 0.8769 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001591/0.7819, allocations: 378.7 kB / 0.8773 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.7819, allocations: 8 kB / 0.8773 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7819, allocations: 0 / 0.8773 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.7831, allocations: 165.8 kB / 0.8775 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.7833, allocations: 35.91 kB / 0.8775 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/0.788, allocations: 3.253 MB / 0.8807 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.7884, allocations: 27.88 kB / 0.8807 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.7884, allocations: 14.56 kB / 0.8807 GB, free: 4.879 MB / 0.6544 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.000167/0.7886, allocations: 133.7 kB / 0.8809 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.7887, allocations: 15.91 kB / 0.8809 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.7901, allocations: 376.3 kB / 0.8812 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7901, allocations: 4.812 kB / 0.8812 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.7901, allocations: 0 / 0.8812 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7901, allocations: 0 / 0.8812 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.7905, allocations: 269.6 kB / 0.8815 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7905, allocations: 0 / 0.8815 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.7907, allocations: 31.91 kB / 0.8815 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008671/0.7915, allocations: 149.5 kB / 0.8817 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.7915, allocations: 4 kB / 0.8817 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004407/0.7959, allocations: 3.293 MB / 0.8849 GB, free: 260 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7959, allocations: 0 / 0.8849 GB, free: 260 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.7974, allocations: 439.5 kB / 0.8853 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.7975, allocations: 112.9 kB / 0.8854 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.7976, allocations: 11.94 kB / 0.8854 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.7979, allocations: 11.98 kB / 0.8854 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/0.798, allocations: 19.97 kB / 0.8854 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.798, allocations: 8 kB / 0.8855 GB, free: 15.62 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000228/0.7982, allocations: 153.1 kB / 0.8856 GB, free: 15.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.7982, allocations: 0 / 0.8856 GB, free: 15.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004906/0.7987, allocations: 67.94 kB / 0.8857 GB, free: 15.41 MB / 0.67 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.001804/0.8005, allocations: 0.9752 MB / 0.8866 GB, free: 14.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.8017, allocations: 434.9 kB / 0.887 GB, free: 13.95 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8017, allocations: 3.938 kB / 0.887 GB, free: 13.95 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008794/0.8026, allocations: 353.2 kB / 0.8874 GB, free: 13.58 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.8031, allocations: 61.39 kB / 0.8874 GB, free: 13.52 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.8087, allocations: 2.502 MB / 0.8899 GB, free: 10.88 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.8091, allocations: 0.7361 MB / 0.8906 GB, free: 10.12 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.8093, allocations: 37.92 kB / 0.8906 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.8094, allocations: 59.41 kB / 0.8907 GB, free: 10.03 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/0.8094, allocations: 0 / 0.8907 GB, free: 10.03 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/0.8491, allocations: 7.357 MB / 0.8979 GB, free: 2.918 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.62, allocations: 14.86 kB / 0.8979 GB, free: 2.906 MB / 0.67 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.502481121991877] Failed to read output from testmodel.py, exit status != 0: 12.733039564001956 12.74965061 11.976905514 Calling exit ...