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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 190.7 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.05 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.002546/0.002546, allocations: 281.5 kB / 306.5 MB, free: 8.355 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.21/1.21, allocations: 180.9 MB / 0.53 GB, free: 14.52 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002854/0.002854, allocations: 98.3 kB / 0.7309 GB, free: 38.87 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2034, allocations: 94.21 MB / 0.8229 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.7531/0.9565, allocations: 196.2 MB / 1.014 GB, free: 3.582 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.9728, allocations: 14.48 MB / 1.029 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.9745, allocations: 52.16 kB / 1.029 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.9759, allocations: 0.5135 MB / 1.029 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.9808, allocations: 1.995 MB / 1.031 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.9833, allocations: 0.9062 MB / 1.032 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003865/0.9871, allocations: 2.642 MB / 1.035 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.9885, allocations: 0.7989 MB / 1.035 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004928/0.9935, allocations: 1.681 MB / 1.037 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.9954, allocations: 0.994 MB / 1.038 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.9957, allocations: 104.5 kB / 1.038 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.9982, allocations: 1.187 MB / 1.039 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005395/0.9987, allocations: 0.5073 MB / 1.04 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008669/0.9996, allocations: 0.6287 MB / 1.04 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002708/1.002, allocations: 1.922 MB / 1.042 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.002, allocations: 0 / 1.042 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.633e-06/1.002, allocations: 4.672 kB / 1.042 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.518e-05/1.002, allocations: 0 / 1.042 GB, free: 3.199 MB / 0.7481 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.001958/1.004, allocations: 1.408 MB / 1.044 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/1.004, allocations: 11.12 kB / 1.044 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/1.006, allocations: 260.9 kB / 1.044 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/1.007, allocations: 0.7273 MB / 1.045 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/1.007, allocations: 69.72 kB / 1.045 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/1.007, allocations: 95.56 kB / 1.045 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/1.009, allocations: 1.169 MB / 1.046 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/1.009, allocations: 0.9062 kB / 1.046 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/1.009, allocations: 43.78 kB / 1.046 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/1.009, allocations: 39.84 kB / 1.046 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/1.01, allocations: 0.9051 MB / 1.047 GB, free: 1.918 MB / 0.7481 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.005836/1.016, allocations: 5.684 MB / 1.052 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000737/1.017, allocations: 0.5208 MB / 1.053 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/1.017, allocations: 302.6 kB / 1.053 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/1.017, allocations: 86.83 kB / 1.053 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/1.017, allocations: 37.56 kB / 1.053 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=49): time 2.785e-06/1.017, allocations: 0.9062 kB / 1.053 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49): time 0.001342/1.019, allocations: 0.8022 MB / 1.054 GB, free: 14 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.019, allocations: 59.16 kB / 1.054 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007563/1.02, allocations: 0.7518 MB / 1.055 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/1.02, allocations: 35.42 kB / 1.055 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/1.02, allocations: 0.5185 MB / 1.055 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/1.02, allocations: 186.5 kB / 1.056 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/1.02, allocations: 143.4 kB / 1.056 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.02, allocations: 341.4 kB / 1.056 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/1.021, allocations: 252.4 kB / 1.056 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/1.021, allocations: 0.5497 MB / 1.057 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/1.022, allocations: 0.8026 MB / 1.058 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.022, allocations: 3.5 kB / 1.058 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001065/1.023, allocations: 0.8523 MB / 1.058 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.023, allocations: 10.59 kB / 1.058 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.023, allocations: 5.812 kB / 1.058 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/1.023, allocations: 13.56 kB / 1.058 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/1.024, allocations: 157 kB / 1.059 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/1.024, allocations: 20.61 kB / 1.059 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/1.024, allocations: 87.8 kB / 1.059 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/1.024, allocations: 35.14 kB / 1.059 GB, free: 12.29 MB / 0.7637 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.0004239/1.025, allocations: 333 kB / 1.059 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/1.025, allocations: 90.88 kB / 1.059 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008735/1.026, allocations: 0.6201 MB / 1.06 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.026, allocations: 8.188 kB / 1.06 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.026, allocations: 1.703 kB / 1.06 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006148/1.026, allocations: 0.5228 MB / 1.06 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/1.029, allocations: 1.638 MB / 1.062 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.029, allocations: 8.125 kB / 1.062 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/1.029, allocations: 109.8 kB / 1.062 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/1.029, allocations: 4.281 kB / 1.062 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/1.029, allocations: 17.81 kB / 1.062 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/1.029, allocations: 3.594 kB / 1.062 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.029, allocations: 3.844 kB / 1.062 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/1.031, allocations: 1.022 MB / 1.063 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/1.031, allocations: 147.5 kB / 1.063 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.031, allocations: 16.58 kB / 1.063 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/1.032, allocations: 21.95 kB / 1.063 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/1.032, allocations: 33.47 kB / 1.063 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/1.032, allocations: 19.8 kB / 1.063 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005923/1.032, allocations: 0.5069 MB / 1.064 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/1.032, allocations: 0.9062 kB / 1.064 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008898/1.033, allocations: 308.1 kB / 1.064 GB, free: 11.2 MB / 0.7637 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.0005244/1.034, allocations: 215 kB / 1.064 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.000905/1.035, allocations: 0.5879 MB / 1.065 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.035, allocations: 0 / 1.065 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/1.035, allocations: 265.5 kB / 1.065 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/1.037, allocations: 441.8 kB / 1.065 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/1.04, allocations: 1.954 MB / 1.067 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000759/1.04, allocations: 1.124 MB / 1.068 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007779/1.041, allocations: 263 kB / 1.069 GB, free: 9.508 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/1.041, allocations: 74.45 kB / 1.069 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of SimCode: time 1.022e-06/1.041, allocations: 2.531 kB / 1.069 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of Templates: time 0.02782/1.069, allocations: 16.12 MB / 1.085 GB, free: 5.852 MB / 0.7637 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.3420151406899095] Failed to read output from testmodel.py, exit status != 0: 1.0771132335066795 1.088871735 0.083396308 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff2735017b0>