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.001572/0.001572, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001889/0.001889, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.378/1.378, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.002466/0.002466, allocations: 282.4 kB / 313.5 MB, free: 2.848 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.5377 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") [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.002922/0.002922, allocations: 101.9 kB / 0.7408 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1891, allocations: 95.39 MB / 0.834 GB, free: 8.176 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.6253/0.8144, allocations: 199.1 MB / 1.028 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.8297, allocations: 14.51 MB / 1.043 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.8316, allocations: 49.25 kB / 1.043 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.8333, allocations: 0.5132 MB / 1.043 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005214/0.8385, allocations: 1.998 MB / 1.045 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.841, allocations: 0.898 MB / 1.046 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003454/0.8444, allocations: 2.629 MB / 1.049 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.8459, allocations: 0.8088 MB / 1.049 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/0.8502, allocations: 1.69 MB / 1.051 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.852, allocations: 0.9911 MB / 1.052 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003286/0.8523, allocations: 108.9 kB / 1.052 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.8548, allocations: 1.182 MB / 1.053 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005446/0.8554, allocations: 0.508 MB / 1.054 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009219/0.8563, allocations: 0.6377 MB / 1.054 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.8592, allocations: 1.915 MB / 1.056 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.8592, allocations: 0 / 1.056 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8592, allocations: 0.6875 kB / 1.056 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.467e-05/0.8592, allocations: 0.9375 kB / 1.056 GB, free: 2.137 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.002315/0.8615, allocations: 1.408 MB / 1.058 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8616, allocations: 12.69 kB / 1.058 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.8628, allocations: 259.2 kB / 1.058 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.8641, allocations: 0.7287 MB / 1.059 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.8642, allocations: 68.78 kB / 1.059 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.8643, allocations: 91.94 kB / 1.059 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.8658, allocations: 1.173 MB / 1.06 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.8659, allocations: 10.56 kB / 1.06 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/0.866, allocations: 39.19 kB / 1.06 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.866, allocations: 38.14 kB / 1.06 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.8673, allocations: 0.9022 MB / 1.061 GB, free: 16.43 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.006344/0.8736, allocations: 5.691 MB / 1.066 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.8745, allocations: 0.5163 MB / 1.067 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.8749, allocations: 299.1 kB / 1.067 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004736/0.8754, allocations: 79.44 kB / 1.067 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.8754, allocations: 40.91 kB / 1.067 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.364e-06/0.8754, allocations: 1 kB / 1.067 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001468/0.8769, allocations: 0.8038 MB / 1.068 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.8769, allocations: 58.72 kB / 1.068 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008852/0.8778, allocations: 0.7469 MB / 1.069 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.685e-05/0.8779, allocations: 39.64 kB / 1.069 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.8783, allocations: 0.5178 MB / 1.069 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.8785, allocations: 187.5 kB / 1.07 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.8787, allocations: 143.2 kB / 1.07 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.8789, allocations: 340.2 kB / 1.07 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.8793, allocations: 245.7 kB / 1.07 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/0.8799, allocations: 0.5565 MB / 1.071 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009462/0.8808, allocations: 0.8013 MB / 1.072 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.8808, allocations: 3.281 kB / 1.072 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001165/0.882, allocations: 0.8496 MB / 1.072 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.882, allocations: 9.594 kB / 1.072 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.882, allocations: 10.03 kB / 1.072 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.8821, allocations: 13.41 kB / 1.072 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.8825, allocations: 149.5 kB / 1.073 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.8826, allocations: 20.14 kB / 1.073 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/0.8832, allocations: 91.52 kB / 1.073 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.8833, allocations: 38.22 kB / 1.073 GB, free: 8.477 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.0004643/0.8838, allocations: 340.2 kB / 1.073 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.8839, allocations: 91.59 kB / 1.073 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009503/0.8848, allocations: 0.6185 MB / 1.074 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.8848, allocations: 6.062 kB / 1.074 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8849, allocations: 0 / 1.074 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006715/0.8855, allocations: 0.5196 MB / 1.074 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.888, allocations: 1.638 MB / 1.076 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.888, allocations: 3.406 kB / 1.076 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.8885, allocations: 113.3 kB / 1.076 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.8885, allocations: 5.281 kB / 1.076 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.8885, allocations: 13.72 kB / 1.076 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.8885, allocations: 11.38 kB / 1.076 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8885, allocations: 3.25 kB / 1.076 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.8898, allocations: 1.017 MB / 1.077 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.8902, allocations: 155 kB / 1.077 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.8903, allocations: 13.59 kB / 1.077 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.8907, allocations: 23.52 kB / 1.077 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.8908, allocations: 31.48 kB / 1.077 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.8908, allocations: 25.58 kB / 1.077 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006017/0.8914, allocations: 0.508 MB / 1.078 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8914, allocations: 6.031 kB / 1.078 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000828/0.8922, allocations: 304.7 kB / 1.078 GB, free: 5.305 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.0004468/0.8927, allocations: 183.6 kB / 1.078 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000924/0.8936, allocations: 0.5961 MB / 1.079 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8936, allocations: 0 / 1.079 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.8939, allocations: 262.9 kB / 1.079 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.8957, allocations: 444.8 kB / 1.079 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.8989, allocations: 2.04 MB / 1.081 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/0.8997, allocations: 1.123 MB / 1.083 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.9, allocations: 79.92 kB / 1.083 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/0.9, allocations: 0 / 1.083 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.02332/0.9233, allocations: 14.7 MB / 1.097 GB, free: 5.871 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.344690832076594] Failed to read output from testmodel.py, exit status != 0: 0.9310437901876867 0.945396226 0.08317017800000001 Calling exit ...