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.001852/0.001852, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00236/0.00236, allocations: 195.4 kB / 16.14 MB, free: 6.703 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.47 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.357, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9508/1.308, allocations: 192.9 MB / 1.256 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02143/1.329, allocations: 14.4 MB / 1.27 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/1.332, allocations: 35.72 kB / 1.27 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002111/1.334, allocations: 425.5 kB / 1.27 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006997/1.341, allocations: 1.772 MB / 1.272 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003517/1.344, allocations: 0.77 MB / 1.273 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005929/1.35, allocations: 3.624 MB / 1.276 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/1.353, allocations: 0.941 MB / 1.277 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007479/1.36, allocations: 1.45 MB / 1.279 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005463/1.366, allocations: 0.9613 MB / 1.28 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001225/1.367, allocations: 60.59 kB / 1.28 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006651/1.374, allocations: 1.254 MB / 1.281 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002589/1.376, allocations: 466.8 kB / 1.281 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003935/1.38, allocations: 0.5828 MB / 1.282 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005775/1.386, allocations: 1.926 MB / 1.284 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.386, allocations: 1.188 kB / 1.284 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.82e-07/1.386, allocations: 0 / 1.284 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.055e-05/1.386, allocations: 0 / 1.284 GB, free: 4.953 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.00442/1.391, allocations: 1.452 MB / 1.285 GB, free: 20.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.391, allocations: 13.94 kB / 1.285 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/1.393, allocations: 253.5 kB / 1.286 GB, free: 20.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/1.394, allocations: 0.7509 MB / 1.286 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/1.394, allocations: 68.78 kB / 1.286 GB, free: 19.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/1.395, allocations: 98.03 kB / 1.286 GB, free: 19.78 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/1.397, allocations: 1.175 MB / 1.288 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/1.397, allocations: 4.156 kB / 1.288 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/1.397, allocations: 37.69 kB / 1.288 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.554e-05/1.397, allocations: 36.38 kB / 1.288 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/1.4, allocations: 0.9052 MB / 1.289 GB, free: 19.54 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.007809/1.407, allocations: 5.728 MB / 1.294 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/1.408, allocations: 0.5408 MB / 1.295 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/1.409, allocations: 325.4 kB / 1.295 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/1.409, allocations: 310.8 kB / 1.295 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/1.41, allocations: 41.16 kB / 1.295 GB, free: 15.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.545e-06/1.41, allocations: 0 / 1.295 GB, free: 15.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001767/1.411, allocations: 0.8015 MB / 1.296 GB, free: 15.29 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/1.411, allocations: 58.03 kB / 1.296 GB, free: 15.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/1.413, allocations: 0.7549 MB / 1.297 GB, free: 15.08 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.485e-05/1.413, allocations: 36.2 kB / 1.297 GB, free: 15.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/1.413, allocations: 0.5026 MB / 1.297 GB, free: 14.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/1.413, allocations: 185.3 kB / 1.298 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/1.414, allocations: 142.3 kB / 1.298 GB, free: 14.67 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.414, allocations: 337.8 kB / 1.298 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/1.414, allocations: 246.3 kB / 1.298 GB, free: 14.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/1.415, allocations: 0.5546 MB / 1.299 GB, free: 14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/1.416, allocations: 0.8015 MB / 1.3 GB, free: 13.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-05/1.416, allocations: 3.172 kB / 1.3 GB, free: 13.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001569/1.418, allocations: 0.8422 MB / 1.3 GB, free: 13.61 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/1.418, allocations: 8.062 kB / 1.3 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/1.418, allocations: 7.875 kB / 1.3 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/1.418, allocations: 13.28 kB / 1.3 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/1.418, allocations: 156.8 kB / 1.301 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.197e-05/1.418, allocations: 26.61 kB / 1.301 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/1.42, allocations: 144.1 kB / 1.301 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/1.42, allocations: 37.88 kB / 1.301 GB, free: 13.55 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.0007098/1.42, allocations: 332.4 kB / 1.301 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/1.421, allocations: 87.16 kB / 1.301 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/1.422, allocations: 0.6137 MB / 1.302 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/1.422, allocations: 5.25 kB / 1.302 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.422, allocations: 7.984 kB / 1.302 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007876/1.423, allocations: 0.5231 MB / 1.302 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/1.426, allocations: 1.663 MB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.426, allocations: 4.156 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/1.426, allocations: 114.2 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/1.426, allocations: 3.938 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/1.426, allocations: 16.39 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/1.426, allocations: 7.031 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.426, allocations: 1 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/1.428, allocations: 1.017 MB / 1.305 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/1.429, allocations: 220.7 kB / 1.305 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.429, allocations: 14.81 kB / 1.305 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007249/1.429, allocations: 68.3 kB / 1.305 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/1.43, allocations: 35.17 kB / 1.305 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/1.43, allocations: 20.62 kB / 1.305 GB, free: 12.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007809/1.43, allocations: 0.5129 MB / 1.306 GB, free: 12.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.43, allocations: 0 / 1.306 GB, free: 12.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001231/1.432, allocations: 297.4 kB / 1.306 GB, free: 12.32 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.0006154/1.432, allocations: 204.8 kB / 1.306 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001056/1.433, allocations: 0.6028 MB / 1.307 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.433, allocations: 1.5 kB / 1.307 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004004/1.434, allocations: 278.7 kB / 1.307 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/1.436, allocations: 442.4 kB / 1.308 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/1.44, allocations: 2.309 MB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/1.441, allocations: 1.119 MB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009728/1.442, allocations: 272.2 kB / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/1.442, allocations: 75.61 kB / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of SimCode: time 7.02e-07/1.442, allocations: 0 / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of Templates: time 0.02852/1.47, allocations: 14.94 MB / 1.326 GB, free: 8.93 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)