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.001238/0.001238, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001893/0.001893, allocations: 173 kB / 23.49 MB, free: 1.059 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.079/1.079, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.0024/0.0024, allocations: 229.6 kB / 260.5 MB, free: 12.88 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 0.7782/0.7782, allocations: 138.4 MB / 455.4 MB, free: 1.578 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 2.806e-06/2.806e-06, allocations: 0 / 0.5551 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.491e-05/4.772e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.4059/0.406, allocations: 192.3 MB / 0.7428 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01454/0.4205, allocations: 14.65 MB / 0.7571 GB, free: 13.96 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.4217, allocations: 47.62 kB / 0.7572 GB, free: 13.92 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.4233, allocations: 0.4967 MB / 0.7577 GB, free: 13.42 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.4273, allocations: 1.986 MB / 0.7596 GB, free: 11.42 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.4292, allocations: 0.9425 MB / 0.7605 GB, free: 10.48 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002582/0.4318, allocations: 2.627 MB / 0.7631 GB, free: 7.844 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009503/0.4328, allocations: 0.8246 MB / 0.7639 GB, free: 7.004 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.4362, allocations: 2.018 MB / 0.7659 GB, free: 5.043 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.4373, allocations: 0.9097 MB / 0.7668 GB, free: 4.141 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.4374, allocations: 104 kB / 0.7669 GB, free: 4.039 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.4389, allocations: 0.9464 MB / 0.7678 GB, free: 3.09 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003836/0.4393, allocations: 0.5376 MB / 0.7683 GB, free: 2.551 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.4397, allocations: 459 kB / 0.7687 GB, free: 2.102 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.4414, allocations: 1.441 MB / 0.7702 GB, free: 0.6562 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4414, allocations: 3.984 kB / 0.7702 GB, free: 0.6523 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4414, allocations: 0 / 0.7702 GB, free: 0.6523 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.4414, allocations: 0 / 0.7702 GB, free: 0.6523 MB / 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.001591/0.443, allocations: 1.522 MB / 0.7716 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4431, allocations: 12.75 kB / 0.7717 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.4441, allocations: 346.8 kB / 0.772 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009279/0.445, allocations: 0.7513 MB / 0.7727 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.4451, allocations: 70 kB / 0.7728 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.4452, allocations: 96 kB / 0.7729 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.4462, allocations: 0.9541 MB / 0.7738 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.4462, allocations: 0 / 0.7738 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.4463, allocations: 39.94 kB / 0.7739 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.4463, allocations: 37.98 kB / 0.7739 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005977/0.4469, allocations: 379.5 kB / 0.7742 GB, free: 12.26 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.00422/0.4512, allocations: 4.688 MB / 0.7788 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.4517, allocations: 300.2 kB / 0.7791 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.4519, allocations: 141.6 kB / 0.7792 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/0.4522, allocations: 80.36 kB / 0.7793 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.4522, allocations: 41.89 kB / 0.7794 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 3.086e-06/0.4522, allocations: 0 / 0.7794 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.0009005/0.4531, allocations: 464.5 kB / 0.7798 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.4532, allocations: 55.91 kB / 0.7799 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.4538, allocations: 0.6555 MB / 0.7805 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.4538, allocations: 37.7 kB / 0.7805 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.4541, allocations: 0.5728 MB / 0.7811 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.4542, allocations: 186.4 kB / 0.7813 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.4544, allocations: 152.2 kB / 0.7814 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4545, allocations: 0.5625 MB / 0.782 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.4547, allocations: 101.9 kB / 0.7821 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.4552, allocations: 0.8008 MB / 0.7828 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.4558, allocations: 0.5877 MB / 0.7834 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4558, allocations: 0 / 0.7834 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006847/0.4565, allocations: 0.5749 MB / 0.784 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4565, allocations: 12 kB / 0.784 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4565, allocations: 8 kB / 0.784 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.4565, allocations: 12 kB / 0.784 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.4569, allocations: 155.7 kB / 0.7842 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.4569, allocations: 17.41 kB / 0.7842 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.4572, allocations: 80.31 kB / 0.7843 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.4573, allocations: 36 kB / 0.7843 GB, free: 1.332 MB / 0.5886 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.0001863/0.4575, allocations: 204.3 kB / 0.7845 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.4576, allocations: 99.42 kB / 0.7846 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.4581, allocations: 381.6 kB / 0.7849 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4581, allocations: 4 kB / 0.7849 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4581, allocations: 0.875 kB / 0.7849 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007952/0.4589, allocations: 291.2 kB / 0.7852 GB, free: 352 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.4602, allocations: 1.213 MB / 0.7864 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4602, allocations: 4 kB / 0.7864 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.4605, allocations: 107.9 kB / 0.7865 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4605, allocations: 4 kB / 0.7865 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.4605, allocations: 14.09 kB / 0.7865 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.4605, allocations: 11.98 kB / 0.7865 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4605, allocations: 3.938 kB / 0.7866 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.4612, allocations: 0.6585 MB / 0.7872 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.4614, allocations: 135.4 kB / 0.7873 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.4615, allocations: 19.98 kB / 0.7873 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.4617, allocations: 8 kB / 0.7873 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.4617, allocations: 43.81 kB / 0.7874 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.4618, allocations: 16 kB / 0.7874 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003047/0.4621, allocations: 407 kB / 0.7878 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4621, allocations: 4 kB / 0.7878 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006554/0.4627, allocations: 323.3 kB / 0.7881 GB, free: 13.28 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.0004501/0.4632, allocations: 189.5 kB / 0.7883 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005027/0.4637, allocations: 369.3 kB / 0.7886 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4637, allocations: 4.062 kB / 0.7886 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.4638, allocations: 164.5 kB / 0.7888 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.4649, allocations: 379.6 kB / 0.7892 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.4672, allocations: 1.644 MB / 0.7908 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.4673, allocations: 251 kB / 0.791 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005174/0.4679, allocations: 225.6 kB / 0.7912 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.468, allocations: 72.48 kB / 0.7913 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of SimCode: time 1.804e-06/0.468, allocations: 4 kB / 0.7913 GB, free: 9.973 MB / 0.6042 GB Notification: Performance of Templates: time 0.01869/0.4867, allocations: 14.52 MB / 0.8055 GB, free: 11.86 MB / 0.6198 GB " [Timeout remaining time 660] 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: 4.6250010300427675]