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.0009862/0.0009861, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007568/0.007568, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.584/1.584, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.617/0.617, allocations: 95.62 MB / 366.4 MB, free: 10.27 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.0006099/0.0006098, allocations: 19.98 kB / 447.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.419, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.5894/1.008, allocations: 154.6 MB / 0.6566 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/1.019, allocations: 7.824 MB / 0.6643 GB, free: 364 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/1.021, allocations: 29.34 kB / 0.6643 GB, free: 364 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/1.022, allocations: 301.7 kB / 0.6646 GB, free: 360 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/1.025, allocations: 0.8337 MB / 0.6654 GB, free: 316 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002628/1.027, allocations: 0.9122 MB / 0.6663 GB, free: 264 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003169/1.031, allocations: 3.102 MB / 0.6693 GB, free: 252 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009867/1.032, allocations: 0.6431 MB / 0.6699 GB, free: 156 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/1.033, allocations: 0.713 MB / 0.6706 GB, free: 152 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/1.034, allocations: 0.7062 MB / 0.6713 GB, free: 144 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/1.034, allocations: 38.22 kB / 0.6714 GB, free: 144 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/1.035, allocations: 364.9 kB / 0.6717 GB, free: 132 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003165/1.036, allocations: 261.7 kB / 0.672 GB, free: 132 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005842/1.036, allocations: 491 kB / 0.6724 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/1.038, allocations: 1.302 MB / 0.6737 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.038, allocations: 0 / 0.6737 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/1.038, allocations: 0 / 0.6737 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.538e-05/1.038, allocations: 0 / 0.6737 GB, free: 16.02 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.002082/1.04, allocations: 1.137 MB / 0.6748 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/1.04, allocations: 15.48 kB / 0.6748 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005351/1.041, allocations: 114.6 kB / 0.6749 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/1.042, allocations: 0.6414 MB / 0.6756 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/1.042, allocations: 58.84 kB / 0.6756 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.042, allocations: 75.12 kB / 0.6757 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/1.043, allocations: 0.8744 MB / 0.6765 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/1.043, allocations: 5.25 kB / 0.6766 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-05/1.044, allocations: 31.02 kB / 0.6766 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/1.044, allocations: 17.53 kB / 0.6766 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/1.045, allocations: 0.6444 MB / 0.6772 GB, free: 14.68 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.00466/1.049, allocations: 4.076 MB / 0.6812 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/1.05, allocations: 425.9 kB / 0.6816 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/1.05, allocations: 206.1 kB / 0.6818 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002086/1.052, allocations: 1.323 MB / 0.6831 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/1.052, allocations: 39.97 kB / 0.6831 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.983e-06/1.052, allocations: 0 / 0.6831 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.003017/1.055, allocations: 1.457 MB / 0.6846 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/1.056, allocations: 133 kB / 0.6847 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008479/1.056, allocations: 0.6877 MB / 0.6854 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/1.056, allocations: 39.02 kB / 0.6854 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/1.057, allocations: 434.5 kB / 0.6858 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/1.057, allocations: 150.2 kB / 0.686 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/1.057, allocations: 69.42 kB / 0.686 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000186/1.057, allocations: 388.9 kB / 0.6864 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/1.058, allocations: 225.5 kB / 0.6866 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/1.058, allocations: 467.3 kB / 0.6871 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000887/1.059, allocations: 0.7817 MB / 0.6878 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.059, allocations: 3.344 kB / 0.6878 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001218/1.06, allocations: 0.9028 MB / 0.6887 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.06, allocations: 128.1 kB / 0.6888 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.06, allocations: 5.281 kB / 0.6888 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/1.06, allocations: 11.97 kB / 0.6888 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/1.061, allocations: 161.3 kB / 0.689 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/1.061, allocations: 17.41 kB / 0.689 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/1.062, allocations: 76.38 kB / 0.6891 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/1.062, allocations: 36.19 kB / 0.6891 GB, free: 8.055 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.0004319/1.062, allocations: 271.1 kB / 0.6894 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/1.062, allocations: 80.55 kB / 0.6895 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007918/1.063, allocations: 453.5 kB / 0.6899 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.063, allocations: 6.438 kB / 0.6899 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.063, allocations: 0 / 0.6899 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.063, allocations: 7.922 kB / 0.6899 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/1.065, allocations: 1.157 MB / 0.691 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.065, allocations: 0 / 0.691 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/1.065, allocations: 96.92 kB / 0.6911 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/1.065, allocations: 3.938 kB / 0.6911 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/1.065, allocations: 12.78 kB / 0.6911 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.065, allocations: 0 / 0.6911 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.065, allocations: 6.5 kB / 0.6911 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/1.067, allocations: 0.8062 MB / 0.6919 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/1.067, allocations: 149.9 kB / 0.6921 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/1.067, allocations: 18.12 kB / 0.6921 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/1.067, allocations: 29.03 kB / 0.6921 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/1.067, allocations: 23.41 kB / 0.6921 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/1.067, allocations: 24.64 kB / 0.6922 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005088/1.068, allocations: 475.7 kB / 0.6926 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.92e-07/1.068, allocations: 0 / 0.6926 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008402/1.069, allocations: 252.7 kB / 0.6929 GB, free: 6.539 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.0006236/1.069, allocations: 254.3 kB / 0.6931 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001069/1.07, allocations: 0.7474 MB / 0.6938 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.071, allocations: 0 / 0.6938 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/1.071, allocations: 195.7 kB / 0.694 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/1.073, allocations: 378.8 kB / 0.6944 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/1.076, allocations: 1.9 MB / 0.6962 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/1.076, allocations: 1.008 MB / 0.6972 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006882/1.077, allocations: 166.8 kB / 0.6974 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.077, allocations: 67.06 kB / 0.6974 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/1.077, allocations: 0 / 0.6974 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of Templates: time 0.02556/1.103, allocations: 13.73 MB / 0.7108 GB, free: 8.484 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: