Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.409/2.409, allocations: 391.2 MB / 407 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 195.4 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001118, allocations: 113.8 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 51.45 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2494, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1707/0.4201, allocations: 192.9 MB / 1.406 GB, free: 3.648 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.4383, allocations: 14.41 MB / 1.421 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.4397, allocations: 31.81 kB / 1.421 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.4412, allocations: 421.7 kB / 1.421 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.4456, allocations: 1.77 MB / 1.423 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.4479, allocations: 0.7799 MB / 1.423 GB, free: 2.199 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.6187/1.067, allocations: 3.618 MB / 1.427 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/1.069, allocations: 0.9443 MB / 1.428 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005973/1.075, allocations: 1.448 MB / 1.429 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/1.077, allocations: 0.9647 MB / 1.43 GB, free: 3.328 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002675/1.078, allocations: 60.16 kB / 1.43 GB, free: 3.328 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/1.081, allocations: 1.258 MB / 1.432 GB, free: 3.328 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0007617/1.082, allocations: 467.1 kB / 1.432 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/1.083, allocations: 0.5877 MB / 1.433 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003888/1.087, allocations: 1.918 MB / 1.434 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/1.087, allocations: 3.75 kB / 1.434 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.703e-06/1.087, allocations: 1.062 kB / 1.434 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.765e-05/1.087, allocations: 0 / 1.434 GB, free: 3.277 MB / 0.9167 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.00414/1.091, allocations: 1.45 MB / 1.436 GB, free: 18.53 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.091, allocations: 14.88 kB / 1.436 GB, free: 18.53 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/1.093, allocations: 257.1 kB / 1.436 GB, free: 18.46 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/1.094, allocations: 0.7519 MB / 1.437 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/1.094, allocations: 71.62 kB / 1.437 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/1.094, allocations: 92.81 kB / 1.437 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/1.097, allocations: 1.177 MB / 1.438 GB, free: 17.91 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/1.097, allocations: 4.391 kB / 1.438 GB, free: 17.91 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.517e-05/1.097, allocations: 38.38 kB / 1.438 GB, free: 17.91 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/1.097, allocations: 34.08 kB / 1.438 GB, free: 17.91 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/1.098, allocations: 0.9016 MB / 1.439 GB, free: 17.9 MB / 0.9323 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.006642/1.105, allocations: 5.738 MB / 1.445 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/1.106, allocations: 0.5267 MB / 1.445 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/1.106, allocations: 321.1 kB / 1.446 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006377/1.107, allocations: 317.2 kB / 1.446 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/1.107, allocations: 39.12 kB / 1.446 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=49): time 3.066e-06/1.107, allocations: 0 / 1.446 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49): time 0.001627/1.109, allocations: 0.8004 MB / 1.447 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/1.109, allocations: 64.56 kB / 1.447 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/1.11, allocations: 0.747 MB / 1.447 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/1.11, allocations: 41.08 kB / 1.447 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/1.11, allocations: 0.4998 MB / 1.448 GB, free: 13.19 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/1.11, allocations: 183.8 kB / 1.448 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/1.111, allocations: 139.9 kB / 1.448 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.111, allocations: 337.8 kB / 1.449 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/1.111, allocations: 251 kB / 1.449 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/1.112, allocations: 0.5543 MB / 1.449 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009814/1.113, allocations: 0.7905 MB / 1.45 GB, free: 12.08 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.113, allocations: 2.438 kB / 1.45 GB, free: 12.08 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00118/1.114, allocations: 0.8572 MB / 1.451 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.114, allocations: 6.688 kB / 1.451 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.114, allocations: 9.047 kB / 1.451 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/1.114, allocations: 13.66 kB / 1.451 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/1.115, allocations: 151 kB / 1.451 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/1.115, allocations: 19.48 kB / 1.451 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/1.116, allocations: 146.4 kB / 1.451 GB, free: 11.94 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/1.116, allocations: 39.7 kB / 1.451 GB, free: 11.94 MB / 0.9323 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.0004954/1.116, allocations: 331 kB / 1.452 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/1.116, allocations: 86.09 kB / 1.452 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009776/1.117, allocations: 0.6236 MB / 1.452 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.118, allocations: 5.062 kB / 1.452 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.118, allocations: 5.75 kB / 1.452 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000729/1.118, allocations: 0.516 MB / 1.453 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/1.121, allocations: 1.674 MB / 1.455 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.121, allocations: 0 / 1.455 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/1.122, allocations: 112.4 kB / 1.455 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/1.122, allocations: 6.469 kB / 1.455 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/1.122, allocations: 12.78 kB / 1.455 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/1.122, allocations: 13.42 kB / 1.455 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/1.122, allocations: 0 / 1.455 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007129/1.129, allocations: 4.614 MB / 1.459 GB, free: 9.828 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/1.129, allocations: 227.4 kB / 1.459 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/1.129, allocations: 19.03 kB / 1.459 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/1.13, allocations: 66.27 kB / 1.459 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/1.13, allocations: 34.3 kB / 1.459 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/1.13, allocations: 18.03 kB / 1.459 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006772/1.131, allocations: 0.5104 MB / 1.46 GB, free: 9.57 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/1.131, allocations: 0 / 1.46 GB, free: 9.57 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002014/1.133, allocations: 446.2 kB / 1.46 GB, free: 9.527 MB / 0.9323 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.0005048/1.133, allocations: 210.5 kB / 1.461 GB, free: 9.422 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0009294/1.134, allocations: 0.6062 MB / 1.461 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.134, allocations: 0 / 1.461 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/1.135, allocations: 272.8 kB / 1.461 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/1.137, allocations: 440.1 kB / 1.462 GB, free: 9.383 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/1.14, allocations: 2.647 MB / 1.464 GB, free: 7.996 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/1.141, allocations: 1.138 MB / 1.466 GB, free: 7.277 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009992/1.142, allocations: 282.7 kB / 1.466 GB, free: 7.23 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/1.142, allocations: 77.83 kB / 1.466 GB, free: 7.227 MB / 0.9323 GB Notification: Performance of SimCode: time 1.042e-06/1.142, allocations: 0 / 1.466 GB, free: 7.227 MB / 0.9323 GB Notification: Performance of Templates: time 0.02959/1.172, allocations: 16.15 MB / 1.482 GB, free: 6.23 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)