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.001325/0.001325, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00155/0.00155, allocations: 217.5 kB / 22.25 MB, free: 5.117 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.98 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.9685/0.9685, allocations: 145 MB / 457.4 MB, free: 15.49 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.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: 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.002115/0.002115, allocations: 71.19 kB / 0.6332 GB, free: 7.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.2001, allocations: 87.87 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6566/0.8567, allocations: 199.2 MB / 0.9136 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.8763, allocations: 14.55 MB / 0.9278 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.8778, allocations: 51.56 kB / 0.9278 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.8794, allocations: 0.5124 MB / 0.9283 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005241/0.8846, allocations: 1.991 MB / 0.9303 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.8873, allocations: 0.9112 MB / 0.9312 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004008/0.8913, allocations: 2.632 MB / 0.9337 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.8927, allocations: 0.7991 MB / 0.9345 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004595/0.8973, allocations: 1.69 MB / 0.9362 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.8992, allocations: 0.9942 MB / 0.9371 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.8994, allocations: 107.9 kB / 0.9372 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.9019, allocations: 1.185 MB / 0.9384 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005475/0.9025, allocations: 0.5025 MB / 0.9389 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007743/0.9032, allocations: 0.6377 MB / 0.9395 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.9061, allocations: 1.989 MB / 0.9414 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9061, allocations: 0 / 0.9414 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9061, allocations: 4 kB / 0.9414 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.9061, allocations: 0 / 0.9414 GB, free: 9.457 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002421/0.9085, allocations: 1.407 MB / 0.9428 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.9086, allocations: 12.03 kB / 0.9428 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.9088, allocations: 148.7 kB / 0.943 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.9101, allocations: 266.9 kB / 0.9432 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.9116, allocations: 0.7206 MB / 0.9439 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.36e-05/0.9117, allocations: 70 kB / 0.944 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.9118, allocations: 96 kB / 0.9441 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.9136, allocations: 1.173 MB / 0.9452 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.9136, allocations: 3.953 kB / 0.9452 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.9137, allocations: 43.94 kB / 0.9453 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.9138, allocations: 33.98 kB / 0.9453 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.9152, allocations: 0.9015 MB / 0.9462 GB, free: 4.457 MB / 0.7169 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.006531/0.9217, allocations: 5.688 MB / 0.9518 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.9226, allocations: 0.5198 MB / 0.9523 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.9231, allocations: 301.6 kB / 0.9525 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004916/0.9236, allocations: 76.36 kB / 0.9526 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.9236, allocations: 39 kB / 0.9527 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.696e-06/0.9236, allocations: 0 / 0.9527 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001743/0.9254, allocations: 0.8108 MB / 0.9534 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.9254, allocations: 59.83 kB / 0.9535 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.9265, allocations: 0.7471 MB / 0.9542 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.9265, allocations: 41.7 kB / 0.9543 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.927, allocations: 0.5194 MB / 0.9548 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.9272, allocations: 186.4 kB / 0.955 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.9274, allocations: 142.6 kB / 0.9551 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.9275, allocations: 337.9 kB / 0.9554 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.9279, allocations: 249.8 kB / 0.9557 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/0.9286, allocations: 0.5585 MB / 0.9562 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.9297, allocations: 0.8034 MB / 0.957 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.9297, allocations: 0 / 0.957 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00133/0.9311, allocations: 0.8472 MB / 0.9578 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.9311, allocations: 8 kB / 0.9578 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.9311, allocations: 12.09 kB / 0.9578 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.9311, allocations: 15.98 kB / 0.9578 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.9317, allocations: 155.8 kB / 0.958 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.9317, allocations: 16.48 kB / 0.958 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007204/0.9325, allocations: 87.39 kB / 0.9581 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.9325, allocations: 39.92 kB / 0.9581 GB, free: 7.469 MB / 0.7325 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.0004661/0.933, allocations: 329.5 kB / 0.9584 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.9331, allocations: 95.42 kB / 0.9585 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.9342, allocations: 0.614 MB / 0.9591 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.9342, allocations: 11.94 kB / 0.9591 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9342, allocations: 0 / 0.9591 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007611/0.9349, allocations: 0.5173 MB / 0.9597 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.9378, allocations: 1.639 MB / 0.9613 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.9378, allocations: 3.938 kB / 0.9613 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/0.9383, allocations: 111.9 kB / 0.9614 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.9383, allocations: 4 kB / 0.9614 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.9384, allocations: 16.2 kB / 0.9614 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.9384, allocations: 8 kB / 0.9614 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.9384, allocations: 4.688 kB / 0.9614 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.9399, allocations: 1.024 MB / 0.9624 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/0.9403, allocations: 155.2 kB / 0.9625 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.9404, allocations: 16 kB / 0.9626 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.9408, allocations: 13.86 kB / 0.9626 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.9409, allocations: 36.62 kB / 0.9626 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.9409, allocations: 20 kB / 0.9626 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007487/0.9417, allocations: 0.5185 MB / 0.9631 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9417, allocations: 0 / 0.9631 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009503/0.9426, allocations: 295.5 kB / 0.9634 GB, free: 1.922 MB / 0.7325 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.002091/0.9447, allocations: 1.662 MB / 0.965 GB, free: 220 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.9457, allocations: 0.5878 MB / 0.9656 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9457, allocations: 0 / 0.9656 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.9461, allocations: 261.2 kB / 0.9659 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.948, allocations: 443.9 kB / 0.9663 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.9581, allocations: 7.242 MB / 0.9734 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/0.9589, allocations: 1.126 MB / 0.9745 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008405/0.9597, allocations: 275 kB / 0.9747 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/0.9603, allocations: 355.3 kB / 0.9751 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/0.9603, allocations: 0 / 0.9751 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06444/1.025, allocations: 23.85 MB / 0.9984 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.35, allocations: 7.938 kB / 0.9984 GB, free: 14.07 MB / 0.7794 GB " [Timeout remaining time 647] (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: 17.27189622699734] Failed to read output from testmodel.py, exit status != 0: 13.46502013099962 13.487084758 12.576755103 Calling exit ...