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.001477/0.001477, 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.001756/0.001756, allocations: 194.2 kB / 16.14 MB, free: 6.656 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.546/1.546, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6034/0.6034, allocations: 95.47 MB / 364.8 MB, free: 10.12 MB / 302.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.001362/0.001363, allocations: 63.92 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3745, allocations: 69.06 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6296/1.004, allocations: 156.7 MB / 0.6547 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/1.018, allocations: 7.936 MB / 0.6625 GB, free: 344 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/1.021, allocations: 29.78 kB / 0.6625 GB, free: 344 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/1.023, allocations: 310.3 kB / 0.6628 GB, free: 336 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003696/1.027, allocations: 0.8475 MB / 0.6636 GB, free: 280 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003307/1.03, allocations: 0.8952 MB / 0.6645 GB, free: 244 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004686/1.035, allocations: 3.103 MB / 0.6675 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/1.036, allocations: 0.6688 MB / 0.6682 GB, free: 124 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/1.038, allocations: 0.7313 MB / 0.6689 GB, free: 124 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/1.04, allocations: 0.7377 MB / 0.6696 GB, free: 116 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/1.04, allocations: 47.81 kB / 0.6697 GB, free: 116 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/1.041, allocations: 366.1 kB / 0.67 GB, free: 108 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003708/1.042, allocations: 276.4 kB / 0.6703 GB, free: 104 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007218/1.042, allocations: 484.1 kB / 0.6707 GB, free: 32 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/1.044, allocations: 1.328 MB / 0.672 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.044, allocations: 0 / 0.672 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/1.044, allocations: 3.375 kB / 0.672 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.044, allocations: 0 / 0.672 GB, free: 15.84 MB / 0.4981 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.002328/1.047, allocations: 1.319 MB / 0.6733 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.047, allocations: 12.33 kB / 0.6733 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004902/1.047, allocations: 118.7 kB / 0.6735 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/1.048, allocations: 0.65 MB / 0.6741 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/1.048, allocations: 53.31 kB / 0.6741 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.049, allocations: 77.31 kB / 0.6742 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/1.05, allocations: 0.8694 MB / 0.6751 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/1.05, allocations: 5 kB / 0.6751 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-05/1.05, allocations: 28.91 kB / 0.6751 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/1.05, allocations: 19.53 kB / 0.6751 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/1.051, allocations: 0.6443 MB / 0.6757 GB, free: 14.48 MB / 0.4981 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.005179/1.057, allocations: 4.062 MB / 0.6797 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/1.057, allocations: 428.4 kB / 0.6801 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/1.058, allocations: 203 kB / 0.6803 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002768/1.061, allocations: 1.317 MB / 0.6816 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/1.061, allocations: 38.06 kB / 0.6816 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 3.406e-06/1.061, allocations: 0 / 0.6816 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.003803/1.065, allocations: 1.439 MB / 0.683 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.065, allocations: 134.5 kB / 0.6832 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/1.066, allocations: 0.6988 MB / 0.6839 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/1.066, allocations: 38.89 kB / 0.6839 GB, free: 10 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/1.067, allocations: 431.2 kB / 0.6843 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/1.067, allocations: 157.2 kB / 0.6845 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/1.067, allocations: 141.2 kB / 0.6846 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002559/1.067, allocations: 385.8 kB / 0.685 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/1.068, allocations: 223.7 kB / 0.6852 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006676/1.069, allocations: 481 kB / 0.6856 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/1.07, allocations: 0.7773 MB / 0.6864 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/1.07, allocations: 2.688 kB / 0.6864 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001541/1.071, allocations: 0.9125 MB / 0.6873 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/1.071, allocations: 125.5 kB / 0.6874 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/1.071, allocations: 8.25 kB / 0.6874 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/1.071, allocations: 12.19 kB / 0.6874 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/1.072, allocations: 157.3 kB / 0.6876 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/1.072, allocations: 12.72 kB / 0.6876 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007475/1.073, allocations: 81.98 kB / 0.6877 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/1.073, allocations: 37.86 kB / 0.6877 GB, free: 7.914 MB / 0.4981 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 (86): * Single equations (assignments): 82 * 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.0004408/1.073, allocations: 268.3 kB / 0.688 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.073, allocations: 75.59 kB / 0.688 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008556/1.074, allocations: 452.1 kB / 0.6885 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.074, allocations: 5.281 kB / 0.6885 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.074, allocations: 4 kB / 0.6885 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.074, allocations: 7.344 kB / 0.6885 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/1.076, allocations: 1.15 MB / 0.6896 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.076, allocations: 3.938 kB / 0.6896 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/1.077, allocations: 92.3 kB / 0.6897 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/1.077, allocations: 7.312 kB / 0.6897 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/1.077, allocations: 6.125 kB / 0.6897 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.077, allocations: 6.625 kB / 0.6897 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.077, allocations: 0 / 0.6897 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/1.078, allocations: 0.8032 MB / 0.6905 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/1.078, allocations: 144.7 kB / 0.6906 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.078, allocations: 15.38 kB / 0.6906 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/1.079, allocations: 38.06 kB / 0.6907 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/1.079, allocations: 22.53 kB / 0.6907 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/1.079, allocations: 18.7 kB / 0.6907 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005521/1.079, allocations: 478.7 kB / 0.6912 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.079, allocations: 0 / 0.6912 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008672/1.08, allocations: 254.7 kB / 0.6914 GB, free: 5.562 MB / 0.4981 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.0006159/1.081, allocations: 257.8 kB / 0.6917 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001052/1.082, allocations: 0.743 MB / 0.6924 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.082, allocations: 0 / 0.6924 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/1.082, allocations: 192.1 kB / 0.6926 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/1.084, allocations: 365.2 kB / 0.6929 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/1.087, allocations: 1.835 MB / 0.6947 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/1.088, allocations: 0.9977 MB / 0.6957 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000635/1.088, allocations: 182.8 kB / 0.6959 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/1.088, allocations: 65.45 kB / 0.6959 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/1.088, allocations: 0 / 0.6959 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.02591/1.114, allocations: 13.78 MB / 0.7094 GB, free: 6.121 MB / 0.5137 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)