Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.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.0008717/0.0008717, allocations: 79.69 kB / 19.25 MB, free: 0.6211 MB / 13.93 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.000809/0.000809, allocations: 162 kB / 22.56 MB, free: 1.965 MB / 18.57 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 0.9049/0.9049, allocations: 177.1 MB / 202.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.5409/0.5409, allocations: 110.2 MB / 369.6 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.5475 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.469e-05, allocations: 13.23 kB / 0.5475 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4503/0.4504, allocations: 172.6 MB / 0.716 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.4633, allocations: 13.15 MB / 0.7289 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.4647, allocations: 46.19 kB / 0.7289 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.4662, allocations: 0.501 MB / 0.7294 GB, free: 39.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003976/0.4701, allocations: 1.992 MB / 0.7313 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.4725, allocations: 0.9336 MB / 0.7323 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003898/0.4764, allocations: 2.623 MB / 0.7348 GB, free: 39.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.4779, allocations: 0.7977 MB / 0.7356 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005803/0.4837, allocations: 1.968 MB / 0.7375 GB, free: 38.85 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/0.4863, allocations: 0.8912 MB / 0.7384 GB, free: 38.76 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004563/0.4867, allocations: 110.6 kB / 0.7385 GB, free: 38.76 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.4896, allocations: 0.9412 MB / 0.7394 GB, free: 38.67 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000785/0.4904, allocations: 0.5397 MB / 0.7399 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.4917, allocations: 458 kB / 0.7404 GB, free: 38.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003806/0.4955, allocations: 2.021 MB / 0.7424 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4955, allocations: 5.625 kB / 0.7424 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4955, allocations: 0 / 0.7424 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.847e-05/0.4956, allocations: 0.875 kB / 0.7424 GB, free: 38.38 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002932/0.4985, allocations: 1.396 MB / 0.7437 GB, free: 37.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4985, allocations: 10.06 kB / 0.7437 GB, free: 37.65 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.4987, allocations: 144 kB / 0.7439 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.4998, allocations: 260.1 kB / 0.7441 GB, free: 37.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.5013, allocations: 0.7633 MB / 0.7449 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.5014, allocations: 72.67 kB / 0.7449 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.5015, allocations: 92.44 kB / 0.745 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.5032, allocations: 1.296 MB / 0.7463 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.5032, allocations: 6.844 kB / 0.7463 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/0.5033, allocations: 39.22 kB / 0.7463 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.5033, allocations: 32.73 kB / 0.7464 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.5048, allocations: 0.8996 MB / 0.7472 GB, free: 36.9 MB / 0.6355 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.00497/0.5097, allocations: 4.161 MB / 0.7513 GB, free: 34.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008026/0.5105, allocations: 0.5158 MB / 0.7518 GB, free: 34.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.5109, allocations: 297.5 kB / 0.7521 GB, free: 33.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000389/0.5113, allocations: 83.45 kB / 0.7522 GB, free: 33.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.5113, allocations: 38.53 kB / 0.7522 GB, free: 33.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 4.478e-06/0.5113, allocations: 2.562 kB / 0.7522 GB, free: 33.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.001397/0.5127, allocations: 0.8093 MB / 0.753 GB, free: 33.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.5127, allocations: 56.75 kB / 0.7531 GB, free: 33.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009113/0.5136, allocations: 0.7625 MB / 0.7538 GB, free: 33.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.5137, allocations: 37.77 kB / 0.7538 GB, free: 33.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.514, allocations: 0.5138 MB / 0.7543 GB, free: 32.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.5141, allocations: 186.4 kB / 0.7545 GB, free: 32.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.5143, allocations: 140.5 kB / 0.7546 GB, free: 32.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.5143, allocations: 334.3 kB / 0.755 GB, free: 32.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.5146, allocations: 252.4 kB / 0.7552 GB, free: 32.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.5152, allocations: 0.8336 MB / 0.756 GB, free: 31.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000765/0.5159, allocations: 0.7933 MB / 0.7568 GB, free: 30.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.516, allocations: 5.281 kB / 0.7568 GB, free: 30.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00106/0.517, allocations: 0.8535 MB / 0.7576 GB, free: 30.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.517, allocations: 12.47 kB / 0.7576 GB, free: 30.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.5171, allocations: 9.062 kB / 0.7577 GB, free: 30.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.5171, allocations: 12.41 kB / 0.7577 GB, free: 30.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.5175, allocations: 151.8 kB / 0.7578 GB, free: 30.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.5175, allocations: 17.88 kB / 0.7578 GB, free: 30.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.5181, allocations: 91.94 kB / 0.7579 GB, free: 30.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.5181, allocations: 34.08 kB / 0.758 GB, free: 30.47 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0004539/0.5186, allocations: 328.2 kB / 0.7583 GB, free: 30.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.5187, allocations: 92.78 kB / 0.7584 GB, free: 30.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.5194, allocations: 0.6274 MB / 0.759 GB, free: 29.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5194, allocations: 5.188 kB / 0.759 GB, free: 29.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5194, allocations: 0 / 0.759 GB, free: 29.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005204/0.5199, allocations: 0.519 MB / 0.7595 GB, free: 29.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.5219, allocations: 1.541 MB / 0.761 GB, free: 28.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5219, allocations: 3.156 kB / 0.761 GB, free: 28.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.5222, allocations: 111.6 kB / 0.7611 GB, free: 28.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.5222, allocations: 7.062 kB / 0.7611 GB, free: 28.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.5223, allocations: 14.22 kB / 0.7611 GB, free: 28.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.5223, allocations: 5.25 kB / 0.7611 GB, free: 28.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5223, allocations: 1.438 kB / 0.7611 GB, free: 28.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.5233, allocations: 1.022 MB / 0.7621 GB, free: 28.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.5236, allocations: 155.3 kB / 0.7623 GB, free: 28.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.5236, allocations: 13.81 kB / 0.7623 GB, free: 28.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.5239, allocations: 15.38 kB / 0.7623 GB, free: 28.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.524, allocations: 44.22 kB / 0.7623 GB, free: 28.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.524, allocations: 16.89 kB / 0.7624 GB, free: 28.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005254/0.5245, allocations: 0.5105 MB / 0.7628 GB, free: 28.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5245, allocations: 0.9062 kB / 0.7628 GB, free: 28.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009701/0.5255, allocations: 299.3 kB / 0.7631 GB, free: 28.06 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.001549/0.527, allocations: 1.668 MB / 0.7648 GB, free: 27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008091/0.5279, allocations: 0.5932 MB / 0.7653 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5279, allocations: 0.9375 kB / 0.7653 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.5281, allocations: 260.5 kB / 0.7656 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.5299, allocations: 444 kB / 0.766 GB, free: 26.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008172/0.538, allocations: 7.151 MB / 0.773 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.5385, allocations: 0.5296 MB / 0.7735 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009427/0.5394, allocations: 267.3 kB / 0.7738 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.5399, allocations: 365.5 kB / 0.7741 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of SimCode: time 1.613e-06/0.5399, allocations: 0 / 0.7741 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04914/0.589, allocations: 25.51 MB / 0.799 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/8.319, allocations: 3.922 kB / 0.799 GB, free: 15.82 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.933728971518576] Failed to read output from testmodel.py, exit status != 0: 8.411170734092593 8.420494622 7.922483245 Calling exit ...