Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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.00131/0.00131, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001729/0.001729, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.781 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.9789/0.9789, allocations: 145 MB / 457.4 MB, free: 15.28 MB / 366.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.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",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.002047/0.002047, allocations: 77.02 kB / 0.6331 GB, free: 6.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1742, allocations: 87.88 MB / 0.7189 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5653/0.7394, allocations: 147.7 MB / 0.8631 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003109/0.7426, allocations: 1.478 MB / 0.8646 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004268/0.743, allocations: 15.88 kB / 0.8646 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005808/0.7436, allocations: 146.9 kB / 0.8647 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002/0.7456, allocations: 0.7079 MB / 0.8654 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.7473, allocations: 0.6184 MB / 0.866 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.7484, allocations: 0.709 MB / 0.8667 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/0.7489, allocations: 185.3 kB / 0.8669 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008142/0.7497, allocations: 354.7 kB / 0.8672 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.7502, allocations: 219.1 kB / 0.8675 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.7503, allocations: 24 kB / 0.8675 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.7517, allocations: 0.7205 MB / 0.8682 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.7519, allocations: 119.6 kB / 0.8683 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.7521, allocations: 135.4 kB / 0.8684 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.7536, allocations: 0.7175 MB / 0.8691 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7536, allocations: 0 / 0.8691 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7536, allocations: 0 / 0.8691 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.7536, allocations: 0 / 0.8691 GB, free: 1.281 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001203/0.7548, allocations: 0.5862 MB / 0.8697 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7548, allocations: 8.031 kB / 0.8697 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.002e-05/0.7549, allocations: 58.55 kB / 0.8698 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.7561, allocations: 155.6 kB / 0.8699 GB, free: 448 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/0.7567, allocations: 263.9 kB / 0.8702 GB, free: 160 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.7567, allocations: 20.44 kB / 0.8702 GB, free: 140 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.7568, allocations: 24 kB / 0.8702 GB, free: 116 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/0.7574, allocations: 279.4 kB / 0.8705 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.7574, allocations: 0 / 0.8705 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.7574, allocations: 8 kB / 0.8705 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.7574, allocations: 8 kB / 0.8705 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.7579, allocations: 195.8 kB / 0.8707 GB, free: 15.61 MB / 0.6544 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.001665/0.7596, allocations: 0.9773 MB / 0.8716 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.7599, allocations: 130.5 kB / 0.8718 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.7601, allocations: 88.8 kB / 0.8718 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004897/0.7606, allocations: 75.91 kB / 0.8719 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.7606, allocations: 38.5 kB / 0.8719 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.7606, allocations: 0 / 0.8719 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0008609/0.7615, allocations: 284.8 kB / 0.8722 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.7616, allocations: 59.34 kB / 0.8723 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.7619, allocations: 320.5 kB / 0.8726 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.762, allocations: 25.7 kB / 0.8726 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.7621, allocations: 188.2 kB / 0.8728 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.7622, allocations: 51.53 kB / 0.8728 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/0.7623, allocations: 49.66 kB / 0.8729 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.7625, allocations: 334.8 kB / 0.8732 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.7626, allocations: 63.95 kB / 0.8733 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.7629, allocations: 202.9 kB / 0.8735 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.7633, allocations: 195.8 kB / 0.8736 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7633, allocations: 0 / 0.8736 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005021/0.7638, allocations: 237.3 kB / 0.8739 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.7638, allocations: 8.094 kB / 0.8739 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7638, allocations: 4 kB / 0.8739 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.7638, allocations: 0 / 0.8739 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.764, allocations: 43.97 kB / 0.8739 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.764, allocations: 0 / 0.8739 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.7643, allocations: 36.64 kB / 0.874 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.7643, allocations: 12 kB / 0.874 GB, free: 12.05 MB / 0.6544 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 (22): * Single equations (assignments): 22 * 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.0001836/0.7645, allocations: 153.6 kB / 0.8741 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.7645, allocations: 31.81 kB / 0.8741 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.7651, allocations: 221 kB / 0.8744 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7651, allocations: 0 / 0.8744 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.7651, allocations: 0 / 0.8744 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7651, allocations: 4 kB / 0.8744 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.7663, allocations: 0.6327 MB / 0.875 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.7663, allocations: 4 kB / 0.875 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.7665, allocations: 35.92 kB / 0.875 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.7665, allocations: 7.938 kB / 0.875 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.7665, allocations: 4 kB / 0.875 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.7665, allocations: 3.938 kB / 0.875 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.7665, allocations: 7.984 kB / 0.875 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.7673, allocations: 429.3 kB / 0.8754 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.7674, allocations: 47.81 kB / 0.8755 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.7675, allocations: 15.88 kB / 0.8755 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.7677, allocations: 4 kB / 0.8755 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.7677, allocations: 19.97 kB / 0.8755 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.7677, allocations: 7.938 kB / 0.8755 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000287/0.768, allocations: 227 kB / 0.8758 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/0.768, allocations: 0 / 0.8758 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004649/0.7685, allocations: 83.83 kB / 0.8758 GB, free: 10.01 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001434/0.7699, allocations: 1.015 MB / 0.8768 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.7704, allocations: 171.7 kB / 0.877 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7704, allocations: 0 / 0.877 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.7706, allocations: 83.83 kB / 0.8771 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009192/0.7715, allocations: 160.6 kB / 0.8772 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.7758, allocations: 2.912 MB / 0.8801 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.776, allocations: 171.1 kB / 0.8802 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.7762, allocations: 66.92 kB / 0.8803 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.7764, allocations: 87.41 kB / 0.8804 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.7764, allocations: 0 / 0.8804 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04417/0.8205, allocations: 10.01 MB / 0.8901 GB, free: 11.46 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.15, allocations: 1.875 kB / 0.8902 GB, free: 11.46 MB / 0.67 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_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_VolumeFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.064501591958106] Failed to read output from testmodel.py, exit status != 0: 12.267152418382466 12.283748987 11.526921244 Calling exit ...