Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001626/0.001626, allocations: 101.6 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.002075/0.002075, 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.522/1.522, 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.9453/0.9453, allocations: 145 MB / 453.8 MB, free: 1.117 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.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001973/0.001973, allocations: 66.38 kB / 0.628 GB, free: 10.76 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1724, allocations: 87.82 MB / 0.7138 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5746/0.747, allocations: 171 MB / 0.8808 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009169/0.7561, allocations: 6.598 MB / 0.8873 GB, free: 14.77 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005364/0.7567, allocations: 15.88 kB / 0.8873 GB, free: 14.75 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000614/0.7573, allocations: 170.7 kB / 0.8875 GB, free: 14.58 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.7598, allocations: 0.8713 MB / 0.8883 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.7609, allocations: 329.8 kB / 0.8886 GB, free: 13.39 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.762, allocations: 0.725 MB / 0.8893 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005017/0.7625, allocations: 230.8 kB / 0.8895 GB, free: 12.44 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.7639, allocations: 0.5721 MB / 0.8901 GB, free: 11.86 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000491/0.7644, allocations: 286.9 kB / 0.8904 GB, free: 11.58 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.7645, allocations: 20 kB / 0.8904 GB, free: 11.56 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007528/0.7652, allocations: 367.1 kB / 0.8907 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.7654, allocations: 115.6 kB / 0.8909 GB, free: 11.09 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.7656, allocations: 163.2 kB / 0.891 GB, free: 10.93 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0008568/0.7664, allocations: 496.1 kB / 0.8915 GB, free: 10.45 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7664, allocations: 4 kB / 0.8915 GB, free: 10.45 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7664, allocations: 3.938 kB / 0.8915 GB, free: 10.45 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.7665, allocations: 0 / 0.8915 GB, free: 10.45 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00101/0.7675, allocations: 0.6171 MB / 0.8921 GB, free: 9.777 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.7675, allocations: 12.03 kB / 0.8921 GB, free: 9.766 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.332e-05/0.7676, allocations: 62.53 kB / 0.8922 GB, free: 9.695 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003245/0.7679, allocations: 63.73 kB / 0.8922 GB, free: 9.633 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005557/0.7685, allocations: 333.2 kB / 0.8925 GB, free: 9.27 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.7685, allocations: 16.56 kB / 0.8926 GB, free: 9.254 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.7685, allocations: 28 kB / 0.8926 GB, free: 9.227 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.7691, allocations: 327.6 kB / 0.8929 GB, free: 8.879 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.7691, allocations: 0 / 0.8929 GB, free: 8.879 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.7692, allocations: 12 kB / 0.8929 GB, free: 8.867 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.7692, allocations: 11.98 kB / 0.8929 GB, free: 8.855 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.7697, allocations: 201.6 kB / 0.8931 GB, free: 8.656 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.7714, allocations: 1.531 MB / 0.8946 GB, free: 6.992 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.7717, allocations: 114.4 kB / 0.8947 GB, free: 6.871 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.7719, allocations: 92.8 kB / 0.8948 GB, free: 6.777 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/0.7726, allocations: 299.2 kB / 0.8951 GB, free: 6.43 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.7726, allocations: 34.56 kB / 0.8951 GB, free: 6.387 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.983e-06/0.7726, allocations: 0 / 0.8951 GB, free: 6.387 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0008241/0.7734, allocations: 272.6 kB / 0.8954 GB, free: 6.117 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.7735, allocations: 63.33 kB / 0.8954 GB, free: 6.043 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.7738, allocations: 304.6 kB / 0.8957 GB, free: 5.734 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.7739, allocations: 29.7 kB / 0.8958 GB, free: 5.699 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.774, allocations: 184.3 kB / 0.8959 GB, free: 5.516 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.7741, allocations: 55.48 kB / 0.896 GB, free: 5.461 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.7742, allocations: 37.7 kB / 0.896 GB, free: 5.418 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7743, allocations: 338.8 kB / 0.8964 GB, free: 5.078 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.7745, allocations: 55.95 kB / 0.8964 GB, free: 5.023 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.7747, allocations: 113.1 kB / 0.8965 GB, free: 4.895 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.775, allocations: 176.9 kB / 0.8967 GB, free: 4.703 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.775, allocations: 7.938 kB / 0.8967 GB, free: 4.695 MB / 0.67 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004536/0.7755, allocations: 214.5 kB / 0.8969 GB, free: 4.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.7755, allocations: 6.031 kB / 0.8969 GB, free: 4.477 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7755, allocations: 4 kB / 0.8969 GB, free: 4.473 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.7755, allocations: 0 / 0.8969 GB, free: 4.473 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.7757, allocations: 43.91 kB / 0.8969 GB, free: 4.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.7757, allocations: 160 / 0.8969 GB, free: 4.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.7759, allocations: 32.7 kB / 0.897 GB, free: 4.398 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.776, allocations: 8 kB / 0.897 GB, free: 4.391 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.7761, allocations: 153.7 kB / 0.8971 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.7762, allocations: 23.86 kB / 0.8972 GB, free: 4.207 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005054/0.7767, allocations: 213.1 kB / 0.8974 GB, free: 3.992 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7767, allocations: 0 / 0.8974 GB, free: 3.992 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7767, allocations: 4 kB / 0.8974 GB, free: 3.988 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.7767, allocations: 0 / 0.8974 GB, free: 3.988 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.7778, allocations: 0.6855 MB / 0.898 GB, free: 3.227 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.7778, allocations: 0 / 0.898 GB, free: 3.227 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.7779, allocations: 31.92 kB / 0.8981 GB, free: 3.195 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7779, allocations: 0 / 0.8981 GB, free: 3.195 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.7779, allocations: 4.047 kB / 0.8981 GB, free: 3.191 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.7779, allocations: 7.938 kB / 0.8981 GB, free: 3.184 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.778, allocations: 7.922 kB / 0.8981 GB, free: 3.176 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.7784, allocations: 341.5 kB / 0.8984 GB, free: 2.805 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.7785, allocations: 120.8 kB / 0.8985 GB, free: 2.668 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.7786, allocations: 7.984 kB / 0.8985 GB, free: 2.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.7787, allocations: 15.94 kB / 0.8985 GB, free: 2.645 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.7788, allocations: 11.92 kB / 0.8986 GB, free: 2.633 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.7788, allocations: 4 kB / 0.8986 GB, free: 2.629 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002339/0.779, allocations: 227 kB / 0.8988 GB, free: 2.41 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.1e-08/0.779, allocations: 0 / 0.8988 GB, free: 2.41 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004037/0.7794, allocations: 75.89 kB / 0.8989 GB, free: 2.336 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.7805, allocations: 0.917 MB / 0.8997 GB, free: 1.371 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.7809, allocations: 151.8 kB / 0.8999 GB, free: 1.223 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7809, allocations: 4 kB / 0.8999 GB, free: 1.219 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.7811, allocations: 76.45 kB / 0.9 GB, free: 1.145 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008558/0.782, allocations: 144.9 kB / 0.9001 GB, free: 1.008 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.7857, allocations: 2.808 MB / 0.9028 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.7862, allocations: 0.7832 MB / 0.9036 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002269/0.7864, allocations: 69.08 kB / 0.9037 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.7865, allocations: 91.41 kB / 0.9038 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of SimCode: time 9.92e-07/0.7865, allocations: 0 / 0.9038 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.821, allocations: 8.146 MB / 0.9117 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.967, allocations: 16.38 kB / 0.9117 GB, free: 5.102 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.73904821999895] Failed to read output from testmodel.py, exit status != 0: 9.042408597000758 9.066183241 8.294941794 Calling exit ...