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.0006462/0.0006462, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009116/0.001558, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006847/0.0006847, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008425/0.001527, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.106, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.001656/0.001656, allocations: 228.3 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.003013, allocations: 471 kB / 244.7 MB, free: 14.17 MB / 250.7 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 0.7242/0.7242, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07444/0.7986, allocations: 42.4 MB / 426.5 MB, free: 5.945 MB / 410.7 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.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.764e-06/1.764e-06, allocations: 0 / 427.8 MB, free: 4.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.984e-05, allocations: 6.312 kB / 427.8 MB, free: 4.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.3322/0.3322, allocations: 151.7 MB / 0.5659 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.007506/0.3397, allocations: 4.193 MB / 0.57 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.3408, allocations: 51.56 kB / 0.5701 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0008557/0.3416, allocations: 294 kB / 0.5704 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.3445, allocations: 1.279 MB / 0.5716 GB, free: 3.023 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.3463, allocations: 0.778 MB / 0.5724 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003025/0.3494, allocations: 2.586 MB / 0.5749 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.3512, allocations: 0.9078 MB / 0.5758 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.354, allocations: 1.625 MB / 0.5774 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.3552, allocations: 0.8072 MB / 0.5782 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.3554, allocations: 104 kB / 0.5783 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3564, allocations: 447 kB / 0.5787 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004854/0.3569, allocations: 482.7 kB / 0.5791 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000565/0.3575, allocations: 379.3 kB / 0.5795 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.3592, allocations: 1.11 MB / 0.5806 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.096e-05/0.3592, allocations: 0 / 0.5806 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3592, allocations: 0 / 0.5806 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.346e-05/0.3593, allocations: 0 / 0.5806 GB, free: 9.926 MB / 0.5573 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.002068/0.3613, allocations: 1.583 MB / 0.5821 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3614, allocations: 8.031 kB / 0.5821 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.3625, allocations: 397.1 kB / 0.5825 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.3635, allocations: 0.6148 MB / 0.5831 GB, free: 7.262 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.3635, allocations: 74 kB / 0.5832 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.3636, allocations: 95.95 kB / 0.5833 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.3646, allocations: 0.8712 MB / 0.5841 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.3647, allocations: 7.938 kB / 0.5841 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.614e-05/0.3647, allocations: 37.08 kB / 0.5842 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.3648, allocations: 34 kB / 0.5842 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.3653, allocations: 318 kB / 0.5845 GB, free: 5.73 MB / 0.5573 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.003498/0.3688, allocations: 3.407 MB / 0.5878 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.3691, allocations: 284.1 kB / 0.5881 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3692, allocations: 109.7 kB / 0.5882 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.3694, allocations: 60.44 kB / 0.5883 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3695, allocations: 43 kB / 0.5883 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=49): time 2.534e-06/0.3695, allocations: 0 / 0.5883 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49): time 0.0005457/0.37, allocations: 309.9 kB / 0.5886 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.3701, allocations: 59.91 kB / 0.5887 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.3704, allocations: 0.5583 MB / 0.5892 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.3704, allocations: 37.7 kB / 0.5893 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.3706, allocations: 449 kB / 0.5897 GB, free: 280 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.542e-05/0.3707, allocations: 190.4 kB / 0.5899 GB, free: 88 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.3709, allocations: 134.5 kB / 0.59 GB, free: 15.95 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.371, allocations: 386.6 kB / 0.5904 GB, free: 15.56 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.3711, allocations: 77.86 kB / 0.5904 GB, free: 15.48 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.3714, allocations: 0.6362 MB / 0.5911 GB, free: 14.65 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.3717, allocations: 475.2 kB / 0.5915 GB, free: 14.08 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3717, allocations: 4 kB / 0.5915 GB, free: 14.08 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004493/0.3722, allocations: 435.3 kB / 0.5919 GB, free: 13.65 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3722, allocations: 8.969 kB / 0.5919 GB, free: 13.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3722, allocations: 8 kB / 0.5919 GB, free: 13.63 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3722, allocations: 12 kB / 0.592 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.3727, allocations: 179.4 kB / 0.5921 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3727, allocations: 19.92 kB / 0.5921 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.373, allocations: 77.47 kB / 0.5922 GB, free: 13.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.373, allocations: 24 kB / 0.5922 GB, free: 13.33 MB / 0.573 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.0001801/0.3732, allocations: 176.3 kB / 0.5924 GB, free: 13.15 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.3733, allocations: 59.94 kB / 0.5925 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.3736, allocations: 290.6 kB / 0.5927 GB, free: 12.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3736, allocations: 4 kB / 0.5927 GB, free: 12.79 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.3737, allocations: 0 / 0.5927 GB, free: 12.79 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001698/0.3738, allocations: 193.7 kB / 0.5929 GB, free: 12.59 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.3748, allocations: 0.9043 MB / 0.5938 GB, free: 11.63 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3748, allocations: 8.219 kB / 0.5938 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.3752, allocations: 147.6 kB / 0.594 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.3754, allocations: 115.3 kB / 0.5941 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3754, allocations: 4 kB / 0.5941 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.3754, allocations: 15.98 kB / 0.5941 GB, free: 11.35 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3754, allocations: 8.625 kB / 0.5941 GB, free: 11.34 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3754, allocations: 4 kB / 0.5941 GB, free: 11.34 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.376, allocations: 0.5242 MB / 0.5946 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.3761, allocations: 12 kB / 0.5946 GB, free: 10.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.3762, allocations: 12.48 kB / 0.5946 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.3763, allocations: 39.81 kB / 0.5947 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.3763, allocations: 12 kB / 0.5947 GB, free: 10.69 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001898/0.3765, allocations: 266 kB / 0.5949 GB, free: 10.43 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3765, allocations: 0 / 0.5949 GB, free: 10.43 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006273/0.3771, allocations: 307.3 kB / 0.5952 GB, free: 10.13 MB / 0.573 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.0004211/0.3775, allocations: 166.9 kB / 0.5954 GB, free: 9.988 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.3779, allocations: 289.5 kB / 0.5957 GB, free: 9.703 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.262e-05/0.3779, allocations: 12.5 kB / 0.5957 GB, free: 9.691 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.378, allocations: 131.2 kB / 0.5958 GB, free: 9.562 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/0.3789, allocations: 488.1 kB / 0.5963 GB, free: 9.129 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004873/0.3838, allocations: 1.636 MB / 0.5979 GB, free: 7.438 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.384, allocations: 243.1 kB / 0.5981 GB, free: 7.176 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004733/0.3844, allocations: 127.5 kB / 0.5982 GB, free: 7.055 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/0.385, allocations: 325.1 kB / 0.5985 GB, free: 6.73 MB / 0.573 GB Notification: Performance of SimCode: time 2.104e-06/0.385, allocations: 0 / 0.5985 GB, free: 6.73 MB / 0.573 GB Notification: Performance of Templates: time 0.0217/0.4067, allocations: 16.34 MB / 0.6145 GB, free: 6.891 MB / 0.5886 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.143605378456414]