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.002177/0.002177, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00225/0.00225, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.777 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.00276/0.00276, allocations: 287.7 kB / 312.7 MB, free: 2.594 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.34/1.34, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 178] 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.003158/0.003158, allocations: 104.5 kB / 0.74 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2267, allocations: 95.37 MB / 0.8331 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.7222/0.9489, allocations: 172.6 MB / 1.002 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02108/0.97, allocations: 13.16 MB / 1.015 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.9722, allocations: 47.38 kB / 1.015 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.9742, allocations: 499 kB / 1.015 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006243/0.9804, allocations: 1.949 MB / 1.017 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.9835, allocations: 0.8912 MB / 1.018 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003444/0.987, allocations: 2.608 MB / 1.02 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.9882, allocations: 0.8006 MB / 1.021 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005302/0.9935, allocations: 1.662 MB / 1.023 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.9957, allocations: 0.9508 MB / 1.024 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.9959, allocations: 108.2 kB / 1.024 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.9984, allocations: 0.9327 MB / 1.025 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006136/0.999, allocations: 0.5189 MB / 1.025 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008469/0.9998, allocations: 0.5302 MB / 1.026 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003117/1.003, allocations: 1.9 MB / 1.028 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.003, allocations: 0 / 1.028 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/1.003, allocations: 0.8125 kB / 1.028 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.992e-05/1.003, allocations: 0 / 1.028 GB, free: 3.09 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.002468/1.005, allocations: 1.401 MB / 1.029 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.005, allocations: 13.97 kB / 1.029 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/1.007, allocations: 266.8 kB / 1.029 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/1.008, allocations: 0.7212 MB / 1.03 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/1.008, allocations: 78.59 kB / 1.03 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/1.008, allocations: 90.88 kB / 1.03 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/1.01, allocations: 1.291 MB / 1.031 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.01, allocations: 5.938 kB / 1.031 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.252e-05/1.01, allocations: 48.31 kB / 1.031 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/1.01, allocations: 30.22 kB / 1.031 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/1.011, allocations: 0.8989 MB / 1.032 GB, free: 17.64 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.005065/1.017, allocations: 3.999 MB / 1.036 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/1.017, allocations: 0.5121 MB / 1.037 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/1.018, allocations: 300.8 kB / 1.037 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000446/1.018, allocations: 81.94 kB / 1.037 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/1.018, allocations: 40.88 kB / 1.037 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.374e-06/1.018, allocations: 0.9375 kB / 1.037 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001379/1.02, allocations: 0.7979 MB / 1.038 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/1.02, allocations: 60.22 kB / 1.038 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/1.02, allocations: 0.6532 MB / 1.039 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/1.02, allocations: 37.83 kB / 1.039 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/1.021, allocations: 0.522 MB / 1.039 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/1.021, allocations: 188.5 kB / 1.039 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/1.021, allocations: 141.2 kB / 1.04 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002058/1.021, allocations: 391.2 kB / 1.04 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/1.021, allocations: 248.3 kB / 1.04 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/1.022, allocations: 0.835 MB / 1.041 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000838/1.023, allocations: 0.7918 MB / 1.042 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.023, allocations: 3.781 kB / 1.042 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001194/1.024, allocations: 0.8448 MB / 1.043 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.024, allocations: 7.531 kB / 1.043 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.024, allocations: 8.812 kB / 1.043 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.024, allocations: 14.09 kB / 1.043 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/1.025, allocations: 153.4 kB / 1.043 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/1.025, allocations: 16.45 kB / 1.043 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/1.025, allocations: 79.23 kB / 1.043 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/1.026, allocations: 41.94 kB / 1.043 GB, free: 13.3 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.0004851/1.026, allocations: 330.6 kB / 1.043 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/1.026, allocations: 83.2 kB / 1.043 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009147/1.027, allocations: 0.6098 MB / 1.044 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.027, allocations: 5.969 kB / 1.044 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.027, allocations: 0 / 1.044 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006437/1.028, allocations: 0.5207 MB / 1.044 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/1.03, allocations: 1.443 MB / 1.046 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/1.03, allocations: 2.188 kB / 1.046 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/1.03, allocations: 111.7 kB / 1.046 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.03, allocations: 2.312 kB / 1.046 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/1.03, allocations: 22.38 kB / 1.046 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/1.03, allocations: 5.25 kB / 1.046 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.03, allocations: 0 / 1.046 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/1.032, allocations: 1.014 MB / 1.047 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/1.032, allocations: 150.3 kB / 1.047 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.343e-05/1.032, allocations: 14.38 kB / 1.047 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/1.033, allocations: 18.92 kB / 1.047 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/1.033, allocations: 38.64 kB / 1.047 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/1.033, allocations: 17.97 kB / 1.047 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005214/1.033, allocations: 445.9 kB / 1.048 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.033, allocations: 0 / 1.048 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001027/1.034, allocations: 310.9 kB / 1.048 GB, free: 12.25 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.00052/1.035, allocations: 186.3 kB / 1.048 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009106/1.036, allocations: 0.5908 MB / 1.049 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.036, allocations: 0 / 1.049 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/1.036, allocations: 265.3 kB / 1.049 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/1.038, allocations: 388.8 kB / 1.049 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/1.041, allocations: 1.939 MB / 1.051 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/1.041, allocations: 0.5278 MB / 1.052 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009356/1.042, allocations: 257.8 kB / 1.052 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/1.043, allocations: 68.94 kB / 1.052 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/1.043, allocations: 0 / 1.052 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.02906/1.072, allocations: 15.99 MB / 1.068 GB, free: 5.52 MB / 0.7325 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: 7.848680322989821] Failed to read output from testmodel.py, exit status != 0: 1.0794516373425722 1.093746477 0.087566925 Calling exit ...