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.001245/0.001245, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001351/0.001351, allocations: 207.9 kB / 23 MB, free: 4.965 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002436/0.002436, allocations: 285.3 kB / 313.5 MB, free: 2.613 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.22/1.22, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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.002864/0.002864, allocations: 102.3 kB / 0.7407 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2044, allocations: 95.37 MB / 0.8339 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.6545/0.8589, allocations: 172.6 MB / 1.002 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01802/0.8769, allocations: 13.16 MB / 1.015 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.8786, allocations: 49.78 kB / 1.015 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.8803, allocations: 0.4888 MB / 1.016 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005825/0.8861, allocations: 1.946 MB / 1.018 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.8886, allocations: 0.8936 MB / 1.019 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003096/0.8917, allocations: 2.605 MB / 1.021 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.8928, allocations: 0.7948 MB / 1.022 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004176/0.897, allocations: 1.67 MB / 1.024 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.8987, allocations: 0.9575 MB / 1.025 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.8989, allocations: 107.3 kB / 1.025 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.9009, allocations: 0.9332 MB / 1.026 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004731/0.9014, allocations: 0.5137 MB / 1.026 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005806/0.902, allocations: 0.5234 MB / 1.027 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.9042, allocations: 1.903 MB / 1.028 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9042, allocations: 4.219 kB / 1.028 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9042, allocations: 0 / 1.028 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.9042, allocations: 0.9062 kB / 1.028 GB, free: 3.066 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.002084/0.9063, allocations: 1.399 MB / 1.03 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.9063, allocations: 10.59 kB / 1.03 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.9075, allocations: 268.5 kB / 1.03 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.9089, allocations: 0.7307 MB / 1.031 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.9089, allocations: 66.78 kB / 1.031 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.9091, allocations: 96.03 kB / 1.031 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.9106, allocations: 1.295 MB / 1.032 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.9106, allocations: 3.219 kB / 1.032 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/0.9107, allocations: 43.47 kB / 1.032 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.9108, allocations: 39.72 kB / 1.032 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.9119, allocations: 0.8965 MB / 1.033 GB, free: 17.61 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.004659/0.9166, allocations: 3.989 MB / 1.037 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.9173, allocations: 0.5201 MB / 1.038 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.9177, allocations: 296.6 kB / 1.038 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004412/0.9181, allocations: 80.67 kB / 1.038 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.9182, allocations: 46.38 kB / 1.038 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.245e-06/0.9182, allocations: 0 / 1.038 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001342/0.9195, allocations: 0.7932 MB / 1.039 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.9196, allocations: 61.38 kB / 1.039 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/0.9203, allocations: 0.6514 MB / 1.039 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.9204, allocations: 39.16 kB / 1.039 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.9207, allocations: 0.525 MB / 1.04 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.9209, allocations: 186 kB / 1.04 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.9211, allocations: 149.5 kB / 1.04 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002411/0.9213, allocations: 386.7 kB / 1.041 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.9217, allocations: 250.8 kB / 1.041 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007936/0.9225, allocations: 0.8298 MB / 1.042 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009045/0.9234, allocations: 0.8011 MB / 1.042 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.9234, allocations: 2.188 kB / 1.042 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001168/0.9245, allocations: 0.8382 MB / 1.043 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.9246, allocations: 9.031 kB / 1.043 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.9246, allocations: 8.656 kB / 1.043 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.9246, allocations: 12.12 kB / 1.043 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.9251, allocations: 156.4 kB / 1.043 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.9251, allocations: 16.75 kB / 1.043 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006367/0.9258, allocations: 79.75 kB / 1.044 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.9258, allocations: 34.5 kB / 1.044 GB, free: 13.28 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.000433/0.9262, allocations: 334.1 kB / 1.044 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.9263, allocations: 83.2 kB / 1.044 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008857/0.9272, allocations: 0.6064 MB / 1.045 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.9272, allocations: 6.094 kB / 1.045 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9272, allocations: 1.094 kB / 1.045 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006232/0.9279, allocations: 0.5187 MB / 1.045 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.9299, allocations: 1.446 MB / 1.047 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9299, allocations: 3.625 kB / 1.047 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/0.9304, allocations: 108.6 kB / 1.047 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.9304, allocations: 6.938 kB / 1.047 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.9304, allocations: 17.81 kB / 1.047 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.9304, allocations: 8.688 kB / 1.047 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.9304, allocations: 2.578 kB / 1.047 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.9315, allocations: 1.013 MB / 1.048 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.9318, allocations: 142 kB / 1.048 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.9319, allocations: 18.38 kB / 1.048 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.9323, allocations: 23.34 kB / 1.048 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.9324, allocations: 34.55 kB / 1.048 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.9324, allocations: 20.72 kB / 1.048 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004368/0.9328, allocations: 441.2 kB / 1.048 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9328, allocations: 0.9062 kB / 1.048 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008453/0.9337, allocations: 313.6 kB / 1.049 GB, free: 12.23 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.0004868/0.9342, allocations: 192.3 kB / 1.049 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007917/0.935, allocations: 0.5911 MB / 1.049 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.935, allocations: 2.938 kB / 1.049 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.9353, allocations: 261.6 kB / 1.05 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.9368, allocations: 381.9 kB / 1.05 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.9401, allocations: 2.014 MB / 1.052 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.9407, allocations: 0.5276 MB / 1.052 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.9409, allocations: 74.12 kB / 1.053 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.9409, allocations: 0 / 1.053 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.02225/0.9632, allocations: 14.3 MB / 1.066 GB, free: 6.066 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: 11.387522488832474] Failed to read output from testmodel.py, exit status != 0: 0.9707163688726723 0.985214913 0.07792199300000001 Calling exit ...