Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009591/0.0009591, allocations: 183.2 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 0.5783 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006731/0.0006732, allocations: 89.86 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 12.06 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2368, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7515/0.9884, allocations: 177.8 MB / 1.074 GB, free: 4.195 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01802/1.006, allocations: 13.36 MB / 1.087 GB, free: 3.949 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/1.008, allocations: 28.12 kB / 1.087 GB, free: 3.949 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/1.01, allocations: 345.3 kB / 1.088 GB, free: 3.949 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004975/1.015, allocations: 1.383 MB / 1.089 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/1.017, allocations: 0.6754 MB / 1.09 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004472/1.022, allocations: 3.091 MB / 1.093 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/1.023, allocations: 0.8112 MB / 1.094 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003364/1.027, allocations: 1.216 MB / 1.095 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/1.03, allocations: 0.8888 MB / 1.096 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002379/1.03, allocations: 48.59 kB / 1.096 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/1.033, allocations: 0.5662 MB / 1.096 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006498/1.033, allocations: 456.2 kB / 1.097 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/1.034, allocations: 250.6 kB / 1.097 GB, free: 19.68 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002217/1.037, allocations: 1.367 MB / 1.098 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/1.037, allocations: 0 / 1.098 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.088e-06/1.037, allocations: 0 / 1.098 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.867e-05/1.037, allocations: 0 / 1.098 GB, free: 19.57 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002715/1.039, allocations: 1.238 MB / 1.1 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.039, allocations: 9.719 kB / 1.1 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/1.041, allocations: 254.4 kB / 1.1 GB, free: 18.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/1.042, allocations: 0.8121 MB / 1.101 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/1.043, allocations: 70.72 kB / 1.101 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/1.043, allocations: 96.12 kB / 1.101 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/1.044, allocations: 1.174 MB / 1.102 GB, free: 18.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/1.045, allocations: 0 / 1.102 GB, free: 18.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.501e-05/1.045, allocations: 43.28 kB / 1.102 GB, free: 18.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/1.045, allocations: 33.19 kB / 1.102 GB, free: 18.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/1.046, allocations: 0.9124 MB / 1.103 GB, free: 18.22 MB / 0.7136 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.005815/1.052, allocations: 5.741 MB / 1.108 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000774/1.053, allocations: 0.5281 MB / 1.109 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004187/1.053, allocations: 329.4 kB / 1.109 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/1.054, allocations: 321.7 kB / 1.11 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/1.054, allocations: 42 kB / 1.11 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.447e-06/1.054, allocations: 0 / 1.11 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.001542/1.055, allocations: 0.8085 MB / 1.11 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/1.056, allocations: 85.33 kB / 1.11 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/1.056, allocations: 0.7407 MB / 1.111 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/1.056, allocations: 34.92 kB / 1.111 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/1.057, allocations: 0.4954 MB / 1.112 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/1.057, allocations: 186.3 kB / 1.112 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/1.057, allocations: 17.02 kB / 1.112 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.057, allocations: 395.8 kB / 1.112 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/1.058, allocations: 250.3 kB / 1.113 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/1.058, allocations: 0.5526 MB / 1.113 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/1.059, allocations: 356.3 kB / 1.113 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.059, allocations: 9.031 kB / 1.113 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001232/1.06, allocations: 0.847 MB / 1.114 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.06, allocations: 12.03 kB / 1.114 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/1.06, allocations: 9.062 kB / 1.114 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.06, allocations: 13.88 kB / 1.114 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/1.061, allocations: 161.3 kB / 1.114 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/1.061, allocations: 17.41 kB / 1.114 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009979/1.062, allocations: 143.5 kB / 1.115 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/1.062, allocations: 39.78 kB / 1.115 GB, free: 12.46 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005208/1.062, allocations: 333.7 kB / 1.115 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.062, allocations: 88.33 kB / 1.115 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009448/1.063, allocations: 0.6279 MB / 1.116 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.063, allocations: 5.125 kB / 1.116 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.063, allocations: 4 kB / 1.116 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007229/1.064, allocations: 0.5129 MB / 1.116 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/1.067, allocations: 1.765 MB / 1.118 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.067, allocations: 0 / 1.118 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/1.067, allocations: 117.3 kB / 1.118 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.128e-06/1.067, allocations: 2.562 kB / 1.118 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/1.067, allocations: 20.31 kB / 1.118 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/1.067, allocations: 6.438 kB / 1.118 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.067, allocations: 5.703 kB / 1.118 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/1.069, allocations: 1.067 MB / 1.119 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/1.069, allocations: 242 kB / 1.119 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.069, allocations: 15.69 kB / 1.119 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/1.07, allocations: 64.14 kB / 1.119 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/1.07, allocations: 44.77 kB / 1.119 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/1.07, allocations: 14.94 kB / 1.119 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000721/1.071, allocations: 0.5048 MB / 1.12 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.2e-07/1.071, allocations: 0 / 1.12 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001095/1.072, allocations: 307.8 kB / 1.12 GB, free: 11.14 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005985/1.073, allocations: 211.9 kB / 1.12 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001068/1.074, allocations: 0.621 MB / 1.121 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.074, allocations: 0 / 1.121 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000341/1.074, allocations: 272.7 kB / 1.121 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.076, allocations: 448.8 kB / 1.122 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/1.08, allocations: 2.461 MB / 1.124 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007934/1.08, allocations: 1.124 MB / 1.125 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/1.081, allocations: 85.48 kB / 1.125 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of SimCode: time 1.143e-06/1.081, allocations: 0 / 1.125 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of Templates: time 0.03261/1.113, allocations: 14.8 MB / 1.14 GB, free: 2.809 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)