Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001531/0.001531, 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.001348/0.001348, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.372/1.372, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002341/0.002341, allocations: 272.1 kB / 312.7 MB, free: 2.789 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.175/1.175, allocations: 180.6 MB / 0.5369 GB, free: 13.05 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002785/0.002785, allocations: 101.2 kB / 0.7396 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1841, allocations: 95.39 MB / 0.8328 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.6775/0.8617, allocations: 199.1 MB / 1.027 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01673/0.8784, allocations: 14.51 MB / 1.041 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.8805, allocations: 52.22 kB / 1.041 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.882, allocations: 0.5134 MB / 1.042 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.8867, allocations: 1.996 MB / 1.044 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.889, allocations: 0.9038 MB / 1.045 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0033/0.8923, allocations: 2.628 MB / 1.047 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.8935, allocations: 0.8075 MB / 1.048 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004308/0.8978, allocations: 1.687 MB / 1.05 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.8993, allocations: 1 MB / 1.051 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.8994, allocations: 105.8 kB / 1.051 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.9017, allocations: 1.183 MB / 1.052 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004049/0.9021, allocations: 0.5048 MB / 1.052 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.9027, allocations: 0.6371 MB / 1.053 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.9051, allocations: 1.914 MB / 1.055 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9052, allocations: 1.438 kB / 1.055 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9052, allocations: 1 kB / 1.055 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.9052, allocations: 0 / 1.055 GB, free: 1.871 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.002124/0.9073, allocations: 1.406 MB / 1.056 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.9073, allocations: 15.31 kB / 1.056 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.9075, allocations: 142.3 kB / 1.056 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.9087, allocations: 259.3 kB / 1.057 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.9099, allocations: 0.7312 MB / 1.057 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.91, allocations: 72.19 kB / 1.058 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.9101, allocations: 92.25 kB / 1.058 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.9117, allocations: 1.169 MB / 1.059 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.9117, allocations: 4.062 kB / 1.059 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.9118, allocations: 35.75 kB / 1.059 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.9118, allocations: 48.36 kB / 1.059 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.913, allocations: 0.898 MB / 1.06 GB, free: 16.22 MB / 0.7325 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.005403/0.9184, allocations: 5.688 MB / 1.065 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/0.9192, allocations: 0.5203 MB / 1.066 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.9195, allocations: 298.1 kB / 1.066 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004538/0.92, allocations: 87.03 kB / 1.066 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.92, allocations: 40.7 kB / 1.066 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 1.803e-06/0.92, allocations: 0 / 1.066 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.00136/0.9214, allocations: 0.7993 MB / 1.067 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.9214, allocations: 57.38 kB / 1.067 GB, free: 11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008141/0.9223, allocations: 0.756 MB / 1.068 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.9223, allocations: 38.05 kB / 1.068 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.9227, allocations: 0.519 MB / 1.068 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.9229, allocations: 187.1 kB / 1.068 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.9231, allocations: 138.1 kB / 1.069 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.9233, allocations: 340.5 kB / 1.069 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.9236, allocations: 250.7 kB / 1.069 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.9242, allocations: 0.5493 MB / 1.07 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.9252, allocations: 0.7997 MB / 1.07 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.9252, allocations: 1.031 kB / 1.07 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001151/0.9263, allocations: 0.8562 MB / 1.071 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.9263, allocations: 7.062 kB / 1.071 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.9264, allocations: 9.219 kB / 1.071 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.9264, allocations: 15.06 kB / 1.071 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.9269, allocations: 157.5 kB / 1.072 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.9269, allocations: 13.41 kB / 1.072 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/0.9276, allocations: 91.11 kB / 1.072 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.9276, allocations: 35.3 kB / 1.072 GB, free: 8.246 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.000424/0.928, allocations: 332.8 kB / 1.072 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.9282, allocations: 91.09 kB / 1.072 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009361/0.9291, allocations: 0.6193 MB / 1.073 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9291, allocations: 7.594 kB / 1.073 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9291, allocations: 0.9375 kB / 1.073 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006649/0.9298, allocations: 0.5175 MB / 1.073 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.9321, allocations: 1.646 MB / 1.075 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.9321, allocations: 2.812 kB / 1.075 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.9325, allocations: 115.1 kB / 1.075 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.9326, allocations: 9.969 kB / 1.075 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.9326, allocations: 9.031 kB / 1.075 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.9326, allocations: 2.031 kB / 1.075 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.9326, allocations: 7.984 kB / 1.075 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.9338, allocations: 1.02 MB / 1.076 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.9341, allocations: 158.2 kB / 1.076 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.9342, allocations: 12.97 kB / 1.076 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.9347, allocations: 17.27 kB / 1.076 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.9347, allocations: 37.44 kB / 1.076 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.9347, allocations: 18.41 kB / 1.076 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006134/0.9354, allocations: 0.5119 MB / 1.077 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9354, allocations: 0 / 1.077 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008274/0.9362, allocations: 301.9 kB / 1.077 GB, free: 5.094 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.00185/0.938, allocations: 1.659 MB / 1.079 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008624/0.9389, allocations: 0.5813 MB / 1.079 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9389, allocations: 4.5 kB / 1.079 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.9392, allocations: 260.2 kB / 1.079 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.941, allocations: 455 kB / 1.08 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00903/0.95, allocations: 7.249 MB / 1.087 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/0.9508, allocations: 1.122 MB / 1.088 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008084/0.9516, allocations: 271 kB / 1.088 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/0.952, allocations: 359.3 kB / 1.089 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/0.952, allocations: 0 / 1.089 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05918/1.011, allocations: 23.83 MB / 1.112 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.4, allocations: 13.86 kB / 1.112 GB, free: 5.18 MB / 0.7637 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.48450779400082] Failed to read output from testmodel.py, exit status != 0: 12.51858965700012 12.534430023 11.625977809 Calling exit ...