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.0007457/0.0007457, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008571/0.0008571, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8569/0.8569, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.00139/0.00139, allocations: 229.4 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6866/0.6866, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 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: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 7.984 kB / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.493e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.3722/0.3723, allocations: 172.5 MB / 0.8147 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.3825, allocations: 13.1 MB / 0.8275 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005399/0.383, allocations: 51.56 kB / 0.8276 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.384, allocations: 0.5006 MB / 0.8281 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.3866, allocations: 1.994 MB / 0.83 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.388, allocations: 0.942 MB / 0.8309 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.3899, allocations: 2.629 MB / 0.8335 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007327/0.3906, allocations: 0.7878 MB / 0.8343 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.393, allocations: 1.966 MB / 0.8362 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007666/0.3938, allocations: 0.8875 MB / 0.8371 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.3939, allocations: 108 kB / 0.8372 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.3951, allocations: 0.9541 MB / 0.8381 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.3955, allocations: 0.5298 MB / 0.8386 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.3958, allocations: 467 kB / 0.839 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.3979, allocations: 1.948 MB / 0.841 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3979, allocations: 0 / 0.841 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3979, allocations: 3.844 kB / 0.841 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.3979, allocations: 0 / 0.841 GB, free: 3.574 MB / 0.6667 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.001444/0.3994, allocations: 1.392 MB / 0.8423 GB, free: 2.145 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3994, allocations: 13.94 kB / 0.8423 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.3995, allocations: 143.6 kB / 0.8425 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007461/0.4003, allocations: 267 kB / 0.8427 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.4012, allocations: 0.7206 MB / 0.8434 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.4012, allocations: 74 kB / 0.8435 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.4013, allocations: 95.95 kB / 0.8436 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.4025, allocations: 1.302 MB / 0.8449 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.4025, allocations: 0 / 0.8449 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/0.4026, allocations: 40 kB / 0.8449 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.4026, allocations: 30 kB / 0.8449 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009224/0.4035, allocations: 0.9053 MB / 0.8458 GB, free: 14.43 MB / 0.6823 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.003103/0.4066, allocations: 4.126 MB / 0.8498 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.4072, allocations: 0.5089 MB / 0.8503 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.4075, allocations: 302.7 kB / 0.8506 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.4077, allocations: 84.41 kB / 0.8507 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.4078, allocations: 35.06 kB / 0.8507 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=49): time 2.484e-06/0.4078, allocations: 4 kB / 0.8507 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.0009277/0.4087, allocations: 0.8127 MB / 0.8515 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.4087, allocations: 59.89 kB / 0.8516 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.4093, allocations: 0.7625 MB / 0.8523 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.4093, allocations: 33.7 kB / 0.8524 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.4096, allocations: 0.5234 MB / 0.8529 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.762e-05/0.4097, allocations: 182.4 kB / 0.8531 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.4098, allocations: 138.6 kB / 0.8532 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.4099, allocations: 341.9 kB / 0.8535 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.4101, allocations: 249.8 kB / 0.8537 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/0.4106, allocations: 0.8316 MB / 0.8546 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006582/0.4113, allocations: 0.7927 MB / 0.8553 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.4113, allocations: 8 kB / 0.8553 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007891/0.4121, allocations: 0.852 MB / 0.8562 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4121, allocations: 8 kB / 0.8562 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.4121, allocations: 8 kB / 0.8562 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4121, allocations: 12 kB / 0.8562 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.4124, allocations: 152.4 kB / 0.8563 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4124, allocations: 23.92 kB / 0.8564 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.4128, allocations: 95.28 kB / 0.8565 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.4128, allocations: 35.52 kB / 0.8565 GB, free: 2.977 MB / 0.6823 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.0002668/0.4131, allocations: 333.4 kB / 0.8568 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/0.4132, allocations: 94.06 kB / 0.8569 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006299/0.4138, allocations: 0.6156 MB / 0.8575 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.4138, allocations: 4 kB / 0.8575 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4138, allocations: 7.938 kB / 0.8575 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004768/0.4143, allocations: 0.5187 MB / 0.858 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.4157, allocations: 1.533 MB / 0.8595 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4157, allocations: 0 / 0.8595 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.416, allocations: 115.8 kB / 0.8596 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.416, allocations: 6.281 kB / 0.8596 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.416, allocations: 23.92 kB / 0.8597 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.416, allocations: 4 kB / 0.8597 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.416, allocations: 4 kB / 0.8597 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/0.4169, allocations: 1.013 MB / 0.8607 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.4171, allocations: 151.3 kB / 0.8608 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.4172, allocations: 11.94 kB / 0.8608 GB, free: 14.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.4174, allocations: 19.98 kB / 0.8608 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.4175, allocations: 39.88 kB / 0.8609 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.4175, allocations: 20 kB / 0.8609 GB, free: 14.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003974/0.4179, allocations: 0.5107 MB / 0.8614 GB, free: 13.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.4179, allocations: 0 / 0.8614 GB, free: 13.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004907/0.4184, allocations: 299.4 kB / 0.8617 GB, free: 13.54 MB / 0.698 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.001288/0.4196, allocations: 1.664 MB / 0.8633 GB, free: 11.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005853/0.4202, allocations: 0.5964 MB / 0.8639 GB, free: 11.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4202, allocations: 0 / 0.8639 GB, free: 11.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.4205, allocations: 255.7 kB / 0.8641 GB, free: 11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4215, allocations: 439.1 kB / 0.8645 GB, free: 10.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005988/0.4275, allocations: 7.151 MB / 0.8715 GB, free: 3.066 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.4278, allocations: 0.5238 MB / 0.872 GB, free: 2.512 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004313/0.4282, allocations: 261.8 kB / 0.8723 GB, free: 2.254 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.4286, allocations: 360.4 kB / 0.8726 GB, free: 1.902 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/0.4286, allocations: 0 / 0.8726 GB, free: 1.902 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.4643, allocations: 25.49 MB / 0.8975 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.719, allocations: 0 / 0.8975 GB, free: 9.031 MB / 0.7292 GB " [Timeout remaining time 652] (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: 10.366224110126495] Failed to read output from testmodel.py, exit status != 0: 7.810811663977802 7.819571724 7.419585392 Calling exit ...