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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.006223/0.006223, allocations: 102 kB / 15.73 MB, free: 6.051 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.001146/0.001146, allocations: 191.5 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4927/0.4927, allocations: 95.48 MB / 365.4 MB, free: 12.15 MB / 318.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.91 kB / 0.5036 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5242/0.5257, allocations: 69.1 MB / 0.5711 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1922/0.7179, allocations: 158.4 MB / 0.7258 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.7293, allocations: 7.781 MB / 0.7334 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.7305, allocations: 23.88 kB / 0.7334 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.7317, allocations: 373.5 kB / 0.7338 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002647/0.7344, allocations: 0.9131 MB / 0.7347 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.7376, allocations: 1.016 MB / 0.7357 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003055/0.7406, allocations: 2.158 MB / 0.7378 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.7417, allocations: 0.7992 MB / 0.7385 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.744, allocations: 0.867 MB / 0.7394 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.745, allocations: 0.7199 MB / 0.7401 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.7452, allocations: 91.94 kB / 0.7402 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.7462, allocations: 371.4 kB / 0.7405 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.7465, allocations: 315.1 kB / 0.7408 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005588/0.7471, allocations: 0.5056 MB / 0.7413 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.7488, allocations: 1.369 MB / 0.7427 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.7488, allocations: 0 / 0.7427 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7488, allocations: 0 / 0.7427 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.7489, allocations: 3.938 kB / 0.7427 GB, free: 3.773 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002053/0.7509, allocations: 1.312 MB / 0.744 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.751, allocations: 11.98 kB / 0.744 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.7514, allocations: 115.8 kB / 0.7441 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.7526, allocations: 0.6564 MB / 0.7447 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.7527, allocations: 57.94 kB / 0.7448 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.7528, allocations: 72 kB / 0.7448 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.7541, allocations: 0.8782 MB / 0.7457 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.7541, allocations: 7.844 kB / 0.7457 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.991e-05/0.7542, allocations: 32 kB / 0.7457 GB, free: 472 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.7542, allocations: 16 kB / 0.7458 GB, free: 456 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5331/1.287, allocations: 0.6384 MB / 0.7464 GB, free: 39.65 MB / 0.5919 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.00683/1.294, allocations: 4.079 MB / 0.7504 GB, free: 37.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/1.295, allocations: 431.9 kB / 0.7508 GB, free: 37.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/1.296, allocations: 204.4 kB / 0.751 GB, free: 37.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002138/1.298, allocations: 1.318 MB / 0.7523 GB, free: 36.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/1.298, allocations: 38.75 kB / 0.7523 GB, free: 36.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.855e-06/1.298, allocations: 0.7812 kB / 0.7523 GB, free: 36.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.003003/1.301, allocations: 1.431 MB / 0.7537 GB, free: 35.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/1.301, allocations: 133.8 kB / 0.7538 GB, free: 35.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009841/1.302, allocations: 0.6999 MB / 0.7545 GB, free: 35.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/1.302, allocations: 36.67 kB / 0.7545 GB, free: 35.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/1.302, allocations: 433.4 kB / 0.755 GB, free: 35.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/1.303, allocations: 154 kB / 0.7551 GB, free: 35.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/1.303, allocations: 146 kB / 0.7552 GB, free: 35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.303, allocations: 390.1 kB / 0.7556 GB, free: 34.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/1.303, allocations: 221 kB / 0.7558 GB, free: 34.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/1.304, allocations: 469.9 kB / 0.7563 GB, free: 34.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/1.305, allocations: 0.7774 MB / 0.757 GB, free: 34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.305, allocations: 3.438 kB / 0.757 GB, free: 34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001348/1.306, allocations: 0.9107 MB / 0.7579 GB, free: 33.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/1.306, allocations: 122.9 kB / 0.758 GB, free: 33.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.307, allocations: 11.48 kB / 0.758 GB, free: 33.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/1.307, allocations: 10.94 kB / 0.7581 GB, free: 33.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/1.307, allocations: 158 kB / 0.7582 GB, free: 33.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/1.307, allocations: 21.03 kB / 0.7582 GB, free: 33.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/1.308, allocations: 33.11 kB / 0.7583 GB, free: 33.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/1.308, allocations: 36.41 kB / 0.7583 GB, free: 33.67 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (87): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 4 * 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.000343/1.308, allocations: 269.8 kB / 0.7586 GB, free: 33.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/1.308, allocations: 81.61 kB / 0.7586 GB, free: 33.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008341/1.309, allocations: 461 kB / 0.7591 GB, free: 33.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/1.309, allocations: 4.875 kB / 0.7591 GB, free: 33.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.309, allocations: 1 kB / 0.7591 GB, free: 33.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/1.309, allocations: 3.656 kB / 0.7591 GB, free: 33.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/1.311, allocations: 1.154 MB / 0.7602 GB, free: 33.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/1.311, allocations: 0 / 0.7602 GB, free: 33.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/1.311, allocations: 94.95 kB / 0.7603 GB, free: 33.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/1.311, allocations: 2.125 kB / 0.7603 GB, free: 33.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/1.311, allocations: 11.5 kB / 0.7603 GB, free: 33.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/1.311, allocations: 2.75 kB / 0.7603 GB, free: 33.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1.311, allocations: 7.188 kB / 0.7603 GB, free: 33.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/1.312, allocations: 0.8036 MB / 0.7611 GB, free: 32.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/1.313, allocations: 148.9 kB / 0.7612 GB, free: 32.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.873e-05/1.313, allocations: 7.156 kB / 0.7613 GB, free: 32.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/1.313, allocations: 13.98 kB / 0.7613 GB, free: 32.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/1.313, allocations: 28.16 kB / 0.7613 GB, free: 32.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/1.313, allocations: 16.91 kB / 0.7613 GB, free: 32.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005493/1.314, allocations: 485.2 kB / 0.7618 GB, free: 32.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.573e-06/1.314, allocations: 0 / 0.7618 GB, free: 32.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008447/1.315, allocations: 256.7 kB / 0.762 GB, free: 32.65 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (vol.dynBal.medium.p,vol.dynBal.medium.T,vol.dynBal.mC[1],senTraSub.C) * 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 (42): * Single equations (assignments): 42 * 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.0006509/1.315, allocations: 270.2 kB / 0.7623 GB, free: 32.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001009/1.316, allocations: 0.7447 MB / 0.763 GB, free: 32.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.316, allocations: 3.031 kB / 0.763 GB, free: 32.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/1.317, allocations: 188.9 kB / 0.7632 GB, free: 32.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/1.318, allocations: 403.5 kB / 0.7636 GB, free: 32.24 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/1.321, allocations: 1.518 MB / 0.7651 GB, free: 31.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/1.322, allocations: 1 MB / 0.766 GB, free: 30.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007657/1.323, allocations: 176.7 kB / 0.7662 GB, free: 30.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/1.323, allocations: 63.31 kB / 0.7663 GB, free: 30.95 MB / 0.5919 GB Notification: Performance of SimCode: time 4.7e-07/1.323, allocations: 0 / 0.7663 GB, free: 30.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.03112/1.354, allocations: 14.48 MB / 0.7804 GB, free: 30.2 MB / 0.5919 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)