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.000991/0.000991, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002415, allocations: 440 kB / 10.41 MB, free: 284 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.001036/0.001036, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.002392, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.944/0.944, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09603/1.04, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.001587/0.001587, allocations: 240 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.002837, allocations: 471.6 kB / 244.8 MB, free: 14.07 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.7271/0.7271, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08177/0.8089, allocations: 42.4 MB / 426.7 MB, free: 5.828 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 2.445e-06/2.445e-06, allocations: 3.938 kB / 428.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.606e-05, allocations: 2.312 kB / 428.1 MB, free: 4.449 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.3579/0.3579, allocations: 151.7 MB / 0.5662 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.006193/0.3641, allocations: 4.207 MB / 0.5703 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007448/0.3648, allocations: 47.62 kB / 0.5704 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007263/0.3656, allocations: 285.9 kB / 0.5706 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.3676, allocations: 1.275 MB / 0.5719 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.369, allocations: 0.7784 MB / 0.5726 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002631/0.3716, allocations: 2.583 MB / 0.5752 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.3733, allocations: 0.9025 MB / 0.576 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.3758, allocations: 1.614 MB / 0.5776 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.3769, allocations: 0.8073 MB / 0.5784 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.3771, allocations: 104 kB / 0.5785 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008249/0.378, allocations: 447 kB / 0.5789 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003766/0.3783, allocations: 486.8 kB / 0.5794 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.3787, allocations: 375.3 kB / 0.5798 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.38, allocations: 1.106 MB / 0.5808 GB, free: 9.762 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.38, allocations: 0 / 0.5808 GB, free: 9.762 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.693e-06/0.38, allocations: 0 / 0.5808 GB, free: 9.762 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.724e-05/0.38, allocations: 0 / 0.5808 GB, free: 9.762 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.001686/0.3817, allocations: 1.586 MB / 0.5824 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.3818, allocations: 12.02 kB / 0.5824 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008141/0.3826, allocations: 389.1 kB / 0.5828 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008162/0.3834, allocations: 0.6194 MB / 0.5834 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.3834, allocations: 70 kB / 0.5834 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.577e-05/0.3835, allocations: 104.5 kB / 0.5835 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007384/0.3843, allocations: 0.8673 MB / 0.5844 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.3843, allocations: 7.938 kB / 0.5844 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.3843, allocations: 36 kB / 0.5844 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.3844, allocations: 36.11 kB / 0.5845 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.3848, allocations: 318 kB / 0.5848 GB, free: 5.562 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.002709/0.3875, allocations: 3.398 MB / 0.5881 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.3878, allocations: 291 kB / 0.5884 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.3879, allocations: 114.6 kB / 0.5885 GB, free: 1.645 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.3881, allocations: 60.44 kB / 0.5885 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3881, allocations: 35.06 kB / 0.5886 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=49): time 2.665e-06/0.3881, allocations: 0 / 0.5886 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49): time 0.0005109/0.3886, allocations: 317.9 kB / 0.5889 GB, free: 1.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.3887, allocations: 55.91 kB / 0.5889 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.389, allocations: 0.5622 MB / 0.5895 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.389, allocations: 37.7 kB / 0.5895 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.3892, allocations: 457 kB / 0.5899 GB, free: 96 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.3893, allocations: 179.4 kB / 0.5901 GB, free: 15.91 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3895, allocations: 134.5 kB / 0.5902 GB, free: 15.78 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3896, allocations: 390.6 kB / 0.5906 GB, free: 15.39 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/0.3897, allocations: 72.8 kB / 0.5907 GB, free: 15.31 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.39, allocations: 0.6433 MB / 0.5913 GB, free: 14.47 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.3903, allocations: 488.2 kB / 0.5918 GB, free: 13.89 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3903, allocations: 7.984 kB / 0.5918 GB, free: 13.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004452/0.3908, allocations: 434.7 kB / 0.5922 GB, free: 13.46 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3908, allocations: 8 kB / 0.5922 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3908, allocations: 12.09 kB / 0.5922 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3908, allocations: 12 kB / 0.5922 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.3912, allocations: 181.4 kB / 0.5924 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.3913, allocations: 15.94 kB / 0.5924 GB, free: 13.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.3916, allocations: 75.5 kB / 0.5925 GB, free: 13.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.3916, allocations: 24 kB / 0.5925 GB, free: 13.14 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.000153/0.3918, allocations: 168.3 kB / 0.5927 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.3918, allocations: 67.92 kB / 0.5927 GB, free: 12.89 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/0.3921, allocations: 282.7 kB / 0.593 GB, free: 12.61 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3922, allocations: 8 kB / 0.593 GB, free: 12.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3922, allocations: 0 / 0.593 GB, free: 12.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001704/0.3923, allocations: 200.2 kB / 0.5932 GB, free: 12.39 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009352/0.3933, allocations: 0.9007 MB / 0.5941 GB, free: 11.44 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3933, allocations: 3.938 kB / 0.5941 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.3937, allocations: 160 kB / 0.5942 GB, free: 11.28 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.3938, allocations: 107.3 kB / 0.5943 GB, free: 11.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3938, allocations: 4 kB / 0.5944 GB, free: 11.17 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.3938, allocations: 19.94 kB / 0.5944 GB, free: 11.15 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3938, allocations: 3.984 kB / 0.5944 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3938, allocations: 8.094 kB / 0.5944 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.3943, allocations: 0.525 MB / 0.5949 GB, free: 10.57 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.3943, allocations: 9.188 kB / 0.5949 GB, free: 10.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3945, allocations: 17.31 kB / 0.5949 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.3946, allocations: 35.88 kB / 0.595 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.3946, allocations: 15.98 kB / 0.595 GB, free: 10.49 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002265/0.3948, allocations: 260.5 kB / 0.5952 GB, free: 10.24 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.3948, allocations: 0 / 0.5952 GB, free: 10.24 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006169/0.3954, allocations: 311.3 kB / 0.5955 GB, free: 9.934 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.0003968/0.3958, allocations: 165 kB / 0.5957 GB, free: 9.793 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.3962, allocations: 308.1 kB / 0.596 GB, free: 9.492 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.179e-05/0.3962, allocations: 12.5 kB / 0.596 GB, free: 9.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.3964, allocations: 153.9 kB / 0.5961 GB, free: 9.328 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.398, allocations: 2.58 MB / 0.5986 GB, free: 6.301 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00497/0.403, allocations: 1.642 MB / 0.6002 GB, free: 4.602 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.4031, allocations: 239.1 kB / 0.6005 GB, free: 4.348 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004683/0.4036, allocations: 126.3 kB / 0.6006 GB, free: 4.23 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/0.4042, allocations: 329 kB / 0.6009 GB, free: 3.902 MB / 0.573 GB Notification: Performance of SimCode: time 1.653e-06/0.4042, allocations: 0 / 0.6009 GB, free: 3.902 MB / 0.573 GB Notification: Performance of Templates: time 0.01994/0.4241, allocations: 16.19 MB / 0.6167 GB, free: 4.207 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.002013196237385]