Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 194.7 kB / 16.53 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.64 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4052, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9827/1.388, allocations: 195.1 MB / 1.259 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01571/1.404, allocations: 14.32 MB / 1.273 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/1.405, allocations: 37.19 kB / 1.273 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/1.407, allocations: 0.4925 MB / 1.273 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004552/1.411, allocations: 1.88 MB / 1.275 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002457/1.414, allocations: 0.8563 MB / 1.276 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003364/1.417, allocations: 2.582 MB / 1.278 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/1.419, allocations: 1.115 MB / 1.279 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004638/1.423, allocations: 1.6 MB / 1.281 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/1.425, allocations: 0.9203 MB / 1.282 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002464/1.426, allocations: 110.3 kB / 1.282 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/1.429, allocations: 1.099 MB / 1.283 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007164/1.429, allocations: 0.4902 MB / 1.284 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/1.43, allocations: 0.6351 MB / 1.284 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003326/1.434, allocations: 1.878 MB / 1.286 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.434, allocations: 0.75 kB / 1.286 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.765e-06/1.434, allocations: 1.25 kB / 1.286 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.721e-05/1.434, allocations: 0.875 kB / 1.286 GB, free: 5.297 MB / 0.9981 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.003039/1.437, allocations: 1.461 MB / 1.287 GB, free: 20.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.437, allocations: 7.531 kB / 1.287 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/1.439, allocations: 250.1 kB / 1.288 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/1.44, allocations: 0.7516 MB / 1.288 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/1.44, allocations: 72.62 kB / 1.289 GB, free: 20.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/1.44, allocations: 93.56 kB / 1.289 GB, free: 20.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/1.442, allocations: 1.177 MB / 1.29 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/1.442, allocations: 2.281 kB / 1.29 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-05/1.442, allocations: 37.25 kB / 1.29 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/1.442, allocations: 43.84 kB / 1.29 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/1.443, allocations: 0.8989 MB / 1.291 GB, free: 19.89 MB / 1.014 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.005823/1.449, allocations: 5.772 MB / 1.296 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000829/1.45, allocations: 0.5401 MB / 1.297 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/1.45, allocations: 321.1 kB / 1.297 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/1.451, allocations: 311.4 kB / 1.297 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/1.451, allocations: 41.41 kB / 1.298 GB, free: 15.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.204e-06/1.451, allocations: 1.656 kB / 1.298 GB, free: 15.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001472/1.453, allocations: 0.7993 MB / 1.298 GB, free: 15.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/1.453, allocations: 60.81 kB / 1.298 GB, free: 15.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/1.454, allocations: 0.7559 MB / 1.299 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.454, allocations: 35.86 kB / 1.299 GB, free: 15.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005826/1.455, allocations: 0.5119 MB / 1.3 GB, free: 15.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/1.455, allocations: 173.2 kB / 1.3 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/1.455, allocations: 144.6 kB / 1.3 GB, free: 15.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002278/1.456, allocations: 332.6 kB / 1.3 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/1.456, allocations: 248.5 kB / 1.301 GB, free: 14.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009766/1.457, allocations: 0.5532 MB / 1.301 GB, free: 14.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/1.459, allocations: 0.7964 MB / 1.302 GB, free: 14.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/1.459, allocations: 2.656 kB / 1.302 GB, free: 14.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002156/1.461, allocations: 0.8471 MB / 1.303 GB, free: 14.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/1.461, allocations: 10.88 kB / 1.303 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/1.461, allocations: 11.34 kB / 1.303 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-05/1.461, allocations: 12.5 kB / 1.303 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/1.462, allocations: 155.4 kB / 1.303 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.275e-05/1.462, allocations: 22.56 kB / 1.303 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.463, allocations: 86.45 kB / 1.303 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.463, allocations: 38.55 kB / 1.303 GB, free: 13.97 MB / 1.014 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.001019/1.464, allocations: 332.8 kB / 1.303 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/1.464, allocations: 89.28 kB / 1.303 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/1.466, allocations: 0.6123 MB / 1.304 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.466, allocations: 8.281 kB / 1.304 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.466, allocations: 1.969 kB / 1.304 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009366/1.467, allocations: 0.5231 MB / 1.304 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/1.47, allocations: 1.67 MB / 1.306 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.47, allocations: 1.938 kB / 1.306 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/1.471, allocations: 115 kB / 1.306 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/1.471, allocations: 4.375 kB / 1.306 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/1.471, allocations: 16.25 kB / 1.306 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/1.471, allocations: 4.375 kB / 1.306 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.471, allocations: 4.625 kB / 1.306 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/1.473, allocations: 1.023 MB / 1.307 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005842/1.474, allocations: 222.1 kB / 1.307 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/1.474, allocations: 11.66 kB / 1.307 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000664/1.474, allocations: 18.16 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.474, allocations: 39.17 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/1.475, allocations: 17.62 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009762/1.476, allocations: 0.5107 MB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.2e-07/1.476, allocations: 0.7812 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001716/1.477, allocations: 297.9 kB / 1.308 GB, free: 12.76 MB / 1.014 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.0006781/1.478, allocations: 219.5 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001616/1.48, allocations: 0.7088 MB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/1.48, allocations: 0.6875 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004854/1.48, allocations: 276.5 kB / 1.31 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/1.483, allocations: 438.1 kB / 1.31 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/1.487, allocations: 1.949 MB / 1.312 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00097/1.488, allocations: 1.123 MB / 1.313 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001354/1.489, allocations: 272 kB / 1.313 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/1.49, allocations: 72.97 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.49, allocations: 1.156 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of Templates: time 0.0326/1.522, allocations: 15.41 MB / 1.328 GB, free: 10.01 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)