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.002325/0.002325, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 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.002887/0.002887, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 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.003166/0.003166, allocations: 230 kB / 259.8 MB, free: 12.87 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 1.17/1.17, allocations: 138.4 MB / 454.7 MB, free: 1.527 MB / 362.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: 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 1.914e-06/1.914e-06, allocations: 0 / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.355e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.4805/0.4805, allocations: 192.2 MB / 0.742 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02338/0.5039, allocations: 14.63 MB / 0.7563 GB, free: 14.07 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.5053, allocations: 51.56 kB / 0.7563 GB, free: 14.02 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.507, allocations: 0.5005 MB / 0.7568 GB, free: 13.51 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.5128, allocations: 1.986 MB / 0.7588 GB, free: 11.52 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.5157, allocations: 0.9425 MB / 0.7597 GB, free: 10.57 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004556/0.5202, allocations: 2.628 MB / 0.7623 GB, free: 7.938 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.5219, allocations: 0.829 MB / 0.7631 GB, free: 7.094 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006011/0.5279, allocations: 2.015 MB / 0.765 GB, free: 5.141 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.5303, allocations: 0.9139 MB / 0.7659 GB, free: 4.234 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.5305, allocations: 104 kB / 0.766 GB, free: 4.133 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.5332, allocations: 0.9503 MB / 0.767 GB, free: 3.18 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007571/0.5339, allocations: 0.5376 MB / 0.7675 GB, free: 2.641 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008683/0.5348, allocations: 459 kB / 0.7679 GB, free: 2.191 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003523/0.5383, allocations: 1.955 MB / 0.7698 GB, free: 236 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.5383, allocations: 0 / 0.7698 GB, free: 236 kB / 0.573 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5383, allocations: 4 kB / 0.7698 GB, free: 232 kB / 0.573 GB Notification: Performance of Transformations before backend: time 2.052e-05/0.5384, allocations: 0 / 0.7698 GB, free: 232 kB / 0.573 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.002848/0.5412, allocations: 1.583 MB / 0.7714 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5413, allocations: 12.69 kB / 0.7714 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.5428, allocations: 358.7 kB / 0.7717 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.5444, allocations: 0.7351 MB / 0.7725 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.5445, allocations: 70 kB / 0.7725 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.5446, allocations: 95.98 kB / 0.7726 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.5466, allocations: 1.161 MB / 0.7737 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.5466, allocations: 4 kB / 0.7737 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/0.5467, allocations: 40 kB / 0.7738 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-05/0.5467, allocations: 34.56 kB / 0.7738 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.548, allocations: 0.5697 MB / 0.7744 GB, free: 11.37 MB / 0.5886 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.007161/0.5551, allocations: 5.172 MB / 0.7794 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007824/0.5559, allocations: 353.5 kB / 0.7798 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.5563, allocations: 193.6 kB / 0.7799 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004629/0.5568, allocations: 68.44 kB / 0.78 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.5568, allocations: 41.89 kB / 0.7801 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 2.335e-06/0.5568, allocations: 0 / 0.7801 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.001408/0.5582, allocations: 0.5395 MB / 0.7806 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.5583, allocations: 59.91 kB / 0.7806 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.5593, allocations: 0.8117 MB / 0.7814 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/0.5594, allocations: 37.7 kB / 0.7815 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005493/0.5599, allocations: 0.6002 MB / 0.7821 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.5602, allocations: 202.4 kB / 0.7822 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.5605, allocations: 172.2 kB / 0.7824 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004064/0.5609, allocations: 0.6055 MB / 0.783 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.5612, allocations: 133.9 kB / 0.7831 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009377/0.5621, allocations: 0.8509 MB / 0.784 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.5631, allocations: 0.7048 MB / 0.7846 GB, free: 216 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5631, allocations: 0 / 0.7846 GB, free: 216 kB / 0.5886 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001265/0.5644, allocations: 0.6655 MB / 0.7853 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5644, allocations: 8 kB / 0.7853 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.5644, allocations: 8 kB / 0.7853 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.5645, allocations: 12 kB / 0.7853 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.565, allocations: 151.8 kB / 0.7855 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.648e-05/0.5651, allocations: 19.92 kB / 0.7855 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/0.5657, allocations: 73.89 kB / 0.7856 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.5658, allocations: 43.98 kB / 0.7856 GB, free: 15.23 MB / 0.6042 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.0004571/0.5662, allocations: 272.3 kB / 0.7859 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.5664, allocations: 103.4 kB / 0.786 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.5676, allocations: 429.7 kB / 0.7864 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.5676, allocations: 11.94 kB / 0.7864 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.5676, allocations: 0 / 0.7864 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006162/0.5682, allocations: 347.2 kB / 0.7867 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.5709, allocations: 1.436 MB / 0.7881 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.571, allocations: 4 kB / 0.7881 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/0.5715, allocations: 107.8 kB / 0.7882 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.5715, allocations: 4 kB / 0.7882 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.5715, allocations: 15.98 kB / 0.7882 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.5715, allocations: 5 kB / 0.7882 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5716, allocations: 4.219 kB / 0.7882 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.5728, allocations: 0.7871 MB / 0.789 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.5732, allocations: 143.3 kB / 0.7892 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.5733, allocations: 11.98 kB / 0.7892 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.5737, allocations: 16 kB / 0.7892 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.5738, allocations: 39.81 kB / 0.7892 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.5739, allocations: 16.69 kB / 0.7892 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006474/0.5745, allocations: 487 kB / 0.7897 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5745, allocations: 0 / 0.7897 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000996/0.5755, allocations: 319.3 kB / 0.79 GB, free: 10.57 MB / 0.6042 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.0005673/0.5761, allocations: 191.3 kB / 0.7902 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009429/0.577, allocations: 452.9 kB / 0.7906 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.577, allocations: 0.625 kB / 0.7906 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.5774, allocations: 212.3 kB / 0.7908 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.5792, allocations: 394.1 kB / 0.7912 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.5823, allocations: 1.69 MB / 0.7928 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/0.5832, allocations: 0.504 MB / 0.7933 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007263/0.5839, allocations: 225.1 kB / 0.7936 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.5841, allocations: 68.48 kB / 0.7936 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of SimCode: time 1.483e-06/0.5841, allocations: 0 / 0.7936 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of Templates: time 0.02907/0.6132, allocations: 14.51 MB / 0.8078 GB, free: 8.715 MB / 0.6198 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.8561515000183135]