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.001255/0.001255, allocations: 110.7 kB / 16.46 MB, free: 6.5 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.001427/0.001427, allocations: 216 kB / 19.43 MB, free: 3.656 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.377/1.377, allocations: 230.6 MB / 252.8 MB, free: 9.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002365/0.002365, allocations: 285 kB / 309.1 MB, free: 4.012 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.198/1.198, allocations: 180.9 MB / 0.5333 GB, free: 13.74 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002631/0.002631, allocations: 105.4 kB / 0.7343 GB, free: 28.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1664, allocations: 95.34 MB / 0.8274 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.6405/0.8068, allocations: 198.7 MB / 1.021 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.8214, allocations: 14.4 MB / 1.036 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.823, allocations: 52.72 kB / 1.036 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.8244, allocations: 0.5144 MB / 1.036 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004221/0.8286, allocations: 1.962 MB / 1.038 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.8306, allocations: 0.8709 MB / 1.039 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002536/0.8331, allocations: 2.565 MB / 1.041 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.8341, allocations: 0.9326 MB / 1.042 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00373/0.8379, allocations: 1.665 MB / 1.044 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.8393, allocations: 0.9889 MB / 1.045 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.8395, allocations: 106.1 kB / 1.045 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.8414, allocations: 1.167 MB / 1.046 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003918/0.8418, allocations: 0.5082 MB / 1.047 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005689/0.8424, allocations: 0.6394 MB / 1.047 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.8445, allocations: 1.915 MB / 1.049 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8445, allocations: 0 / 1.049 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8445, allocations: 1.125 kB / 1.049 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.8445, allocations: 0 / 1.049 GB, free: 1.746 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.002011/0.8465, allocations: 1.486 MB / 1.051 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.8466, allocations: 9.312 kB / 1.051 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.8467, allocations: 145.5 kB / 1.051 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.848, allocations: 256.1 kB / 1.051 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.8491, allocations: 0.7999 MB / 1.052 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.8492, allocations: 70.91 kB / 1.052 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.8493, allocations: 92 kB / 1.052 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.8508, allocations: 1.18 MB / 1.053 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.8508, allocations: 5.562 kB / 1.053 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/0.8509, allocations: 39.16 kB / 1.053 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.8509, allocations: 40.19 kB / 1.053 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.8521, allocations: 0.9022 MB / 1.054 GB, free: 16.25 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.005303/0.8574, allocations: 5.761 MB / 1.06 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.8582, allocations: 0.5103 MB / 1.06 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.8586, allocations: 297.4 kB / 1.06 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006082/0.8592, allocations: 312.9 kB / 1.061 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.8592, allocations: 38.59 kB / 1.061 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 1.924e-06/0.8592, allocations: 0 / 1.061 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001465/0.8607, allocations: 0.8027 MB / 1.061 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.8608, allocations: 59.72 kB / 1.062 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008788/0.8616, allocations: 0.7459 MB / 1.062 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.8617, allocations: 38.67 kB / 1.062 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.8621, allocations: 0.5176 MB / 1.063 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.8623, allocations: 188.5 kB / 1.063 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.8625, allocations: 147.5 kB / 1.063 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8626, allocations: 338.7 kB / 1.063 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.863, allocations: 251 kB / 1.064 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/0.8636, allocations: 0.5525 MB / 1.064 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.8647, allocations: 0.7963 MB / 1.065 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.8647, allocations: 2.5 kB / 1.065 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001404/0.8661, allocations: 0.8557 MB / 1.066 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.8661, allocations: 10.66 kB / 1.066 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.8661, allocations: 8.438 kB / 1.066 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.8662, allocations: 10.31 kB / 1.066 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.8667, allocations: 156.1 kB / 1.066 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.8667, allocations: 15.33 kB / 1.066 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008122/0.8676, allocations: 89.02 kB / 1.066 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.8676, allocations: 32.67 kB / 1.066 GB, free: 8.102 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.0005743/0.8682, allocations: 345.5 kB / 1.066 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.8683, allocations: 89.62 kB / 1.067 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.8695, allocations: 0.6177 MB / 1.067 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8695, allocations: 6.406 kB / 1.067 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8695, allocations: 0 / 1.067 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006773/0.8701, allocations: 0.515 MB / 1.068 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.8728, allocations: 1.672 MB / 1.069 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.8728, allocations: 2.344 kB / 1.069 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.8733, allocations: 111.5 kB / 1.069 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.8733, allocations: 11.44 kB / 1.069 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.8733, allocations: 10.03 kB / 1.069 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.8733, allocations: 9 kB / 1.069 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.8733, allocations: 4.312 kB / 1.069 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.8747, allocations: 1.024 MB / 1.07 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.875, allocations: 232.5 kB / 1.071 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.561e-05/0.8751, allocations: 12.75 kB / 1.071 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.8756, allocations: 15.48 kB / 1.071 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.8756, allocations: 40.45 kB / 1.071 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.8757, allocations: 15.25 kB / 1.071 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000676/0.8764, allocations: 0.5153 MB / 1.071 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8764, allocations: 0 / 1.071 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001051/0.8774, allocations: 300.2 kB / 1.072 GB, free: 4.98 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.002089/0.8795, allocations: 1.662 MB / 1.073 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.8805, allocations: 0.5883 MB / 1.074 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8805, allocations: 0 / 1.074 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.8808, allocations: 267.1 kB / 1.074 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.8828, allocations: 436.4 kB / 1.074 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.8935, allocations: 7.249 MB / 1.082 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009741/0.8945, allocations: 1.122 MB / 1.083 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008836/0.8954, allocations: 275 kB / 1.083 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/0.8959, allocations: 359.3 kB / 1.083 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of SimCode: time 7.61e-07/0.8959, allocations: 0 / 1.083 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05718/0.9531, allocations: 23.23 MB / 1.106 GB, free: 5.82 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.265/10.22, allocations: 22.11 kB / 1.106 GB, free: 5.805 MB / 0.7637 GB " [Timeout remaining time 650] (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: 14.281362297944725] Failed to read output from testmodel.py, exit status != 0: 10.297641245182604 10.311700928 9.464473252 Calling exit ...