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.0009447/0.0009447, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009656/0.0009656, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9852/0.9852, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.002521/0.002521, allocations: 242.3 kB / 260.2 MB, free: 12.81 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.74/0.74, allocations: 138.4 MB / 455.2 MB, free: 1.48 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.653e-06/1.653e-06, allocations: 0 / 0.5551 GB, free: 480 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.004e-05, allocations: 6.25 kB / 0.5551 GB, free: 472 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.3826/0.3826, allocations: 151.9 MB / 0.7035 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005445/0.388, allocations: 4.124 MB / 0.7075 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007639/0.3888, allocations: 47.62 kB / 0.7076 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007928/0.3896, allocations: 285.9 kB / 0.7078 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.3919, allocations: 1.282 MB / 0.7091 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.3934, allocations: 0.7987 MB / 0.7099 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002479/0.3959, allocations: 2.584 MB / 0.7124 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.3969, allocations: 0.8247 MB / 0.7132 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.3994, allocations: 1.547 MB / 0.7147 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.4007, allocations: 0.857 MB / 0.7155 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.4009, allocations: 104 kB / 0.7156 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000837/0.4017, allocations: 435.1 kB / 0.7161 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.4021, allocations: 0.5337 MB / 0.7166 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004638/0.4026, allocations: 459 kB / 0.717 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.4041, allocations: 1.211 MB / 0.7182 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4041, allocations: 0 / 0.7182 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4041, allocations: 0 / 0.7182 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.818e-05/0.4041, allocations: 8 kB / 0.7182 GB, free: 5.875 MB / 0.5261 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.00206/0.4062, allocations: 1.477 MB / 0.7197 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4062, allocations: 8.75 kB / 0.7197 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009734/0.4072, allocations: 335.5 kB / 0.72 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008644/0.4081, allocations: 0.7269 MB / 0.7207 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.4081, allocations: 74 kB / 0.7208 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.4082, allocations: 95.98 kB / 0.7209 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.4094, allocations: 0.9541 MB / 0.7218 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.4094, allocations: 3.938 kB / 0.7218 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.4095, allocations: 40 kB / 0.7218 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-05/0.4095, allocations: 37.98 kB / 0.7219 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.4101, allocations: 383.4 kB / 0.7222 GB, free: 1.559 MB / 0.5261 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.003663/0.4138, allocations: 4.691 MB / 0.7268 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.4142, allocations: 294.1 kB / 0.7271 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.4144, allocations: 145.6 kB / 0.7272 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.4146, allocations: 56.44 kB / 0.7273 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.4146, allocations: 41.89 kB / 0.7273 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=49): time 2.474e-06/0.4146, allocations: 0 / 0.7273 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49): time 0.0007852/0.4154, allocations: 460.5 kB / 0.7278 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.4155, allocations: 63.89 kB / 0.7278 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.416, allocations: 0.6555 MB / 0.7285 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.416, allocations: 41.64 kB / 0.7285 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.4163, allocations: 0.5689 MB / 0.7291 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.4164, allocations: 190.4 kB / 0.7292 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.4166, allocations: 152.2 kB / 0.7294 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.4168, allocations: 0.5625 MB / 0.7299 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.4169, allocations: 90.5 kB / 0.73 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.4173, allocations: 0.8019 MB / 0.7308 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.4178, allocations: 0.5954 MB / 0.7314 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.4178, allocations: 7.938 kB / 0.7314 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009441/0.4188, allocations: 0.5714 MB / 0.7319 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4188, allocations: 8 kB / 0.732 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.4188, allocations: 12.56 kB / 0.732 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.4188, allocations: 12 kB / 0.732 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.4192, allocations: 151.8 kB / 0.7321 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.4192, allocations: 19.88 kB / 0.7321 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.4195, allocations: 82.52 kB / 0.7322 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.4195, allocations: 36.22 kB / 0.7323 GB, free: 6.656 MB / 0.5417 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.0001692/0.4197, allocations: 212.3 kB / 0.7325 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/0.4198, allocations: 95.48 kB / 0.7326 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/0.4202, allocations: 377.6 kB / 0.7329 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4202, allocations: 8 kB / 0.7329 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4202, allocations: 1.188 kB / 0.7329 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00031/0.4206, allocations: 287.3 kB / 0.7332 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.4218, allocations: 1.217 MB / 0.7344 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4218, allocations: 0 / 0.7344 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.4221, allocations: 107.9 kB / 0.7345 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.4221, allocations: 4 kB / 0.7345 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.4221, allocations: 19.98 kB / 0.7345 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4221, allocations: 0 / 0.7345 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4221, allocations: 12.5 kB / 0.7345 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.4228, allocations: 0.6626 MB / 0.7352 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.4229, allocations: 139.3 kB / 0.7353 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.423, allocations: 15.98 kB / 0.7353 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.4232, allocations: 12.69 kB / 0.7353 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.4233, allocations: 35.88 kB / 0.7354 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.4233, allocations: 20 kB / 0.7354 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000293/0.4236, allocations: 403 kB / 0.7358 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.4236, allocations: 4 kB / 0.7358 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005423/0.4241, allocations: 311.3 kB / 0.7361 GB, free: 2.605 MB / 0.5417 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.0003989/0.4245, allocations: 177.1 kB / 0.7362 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.425, allocations: 364.2 kB / 0.7366 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.425, allocations: 4 kB / 0.7366 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.4252, allocations: 158.2 kB / 0.7367 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009334/0.4261, allocations: 388.7 kB / 0.7371 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.4283, allocations: 1.646 MB / 0.7387 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.4285, allocations: 251.1 kB / 0.739 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003656/0.4289, allocations: 218.4 kB / 0.7392 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.429, allocations: 68.48 kB / 0.7392 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of SimCode: time 8.51e-07/0.429, allocations: 4 kB / 0.7392 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of Templates: time 0.0171/0.4461, allocations: 15.04 MB / 0.7539 GB, free: 0.6914 MB / 0.5573 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.477005416993052]