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.001479/0.001479, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00195/0.00195, allocations: 194.4 kB / 16.25 MB, free: 6.621 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.83 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3086, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9307/1.239, allocations: 192.6 MB / 1.256 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01679/1.256, allocations: 14.21 MB / 1.27 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/1.258, allocations: 36.53 kB / 1.27 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/1.259, allocations: 440.4 kB / 1.27 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004958/1.264, allocations: 1.766 MB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/1.267, allocations: 0.7854 MB / 1.273 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003113/1.27, allocations: 2.577 MB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/1.272, allocations: 1.077 MB / 1.276 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004767/1.276, allocations: 1.583 MB / 1.278 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/1.279, allocations: 0.9853 MB / 1.279 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00023/1.279, allocations: 106.2 kB / 1.279 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/1.282, allocations: 1.146 MB / 1.28 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007316/1.282, allocations: 0.4972 MB / 1.28 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/1.283, allocations: 0.6359 MB / 1.281 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003992/1.287, allocations: 1.966 MB / 1.283 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/1.287, allocations: 0.875 kB / 1.283 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.979e-06/1.287, allocations: 1.812 kB / 1.283 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.062e-05/1.288, allocations: 2.906 kB / 1.283 GB, free: 5.195 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.002896/1.29, allocations: 1.446 MB / 1.284 GB, free: 20.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.29, allocations: 11.7 kB / 1.284 GB, free: 20.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/1.292, allocations: 255.6 kB / 1.285 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/1.293, allocations: 0.7561 MB / 1.285 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/1.293, allocations: 68.7 kB / 1.285 GB, free: 20.03 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/1.294, allocations: 95.94 kB / 1.285 GB, free: 20.03 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/1.295, allocations: 1.174 MB / 1.287 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/1.296, allocations: 4.594 kB / 1.287 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/1.296, allocations: 39.62 kB / 1.287 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/1.296, allocations: 37.75 kB / 1.287 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/1.297, allocations: 0.9037 MB / 1.288 GB, free: 19.79 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.007372/1.305, allocations: 5.724 MB / 1.293 GB, free: 16.03 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009169/1.306, allocations: 0.5377 MB / 1.294 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/1.306, allocations: 325.7 kB / 1.294 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/1.307, allocations: 313.6 kB / 1.294 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/1.307, allocations: 40.41 kB / 1.294 GB, free: 15.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 3.967e-06/1.307, allocations: 0.8125 kB / 1.294 GB, free: 15.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001621/1.308, allocations: 0.7947 MB / 1.295 GB, free: 15.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/1.309, allocations: 62 kB / 1.295 GB, free: 15.51 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.31, allocations: 0.7572 MB / 1.296 GB, free: 15.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/1.31, allocations: 38.52 kB / 1.296 GB, free: 15.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/1.31, allocations: 0.5068 MB / 1.296 GB, free: 15.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/1.31, allocations: 176.3 kB / 1.297 GB, free: 14.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/1.31, allocations: 142.1 kB / 1.297 GB, free: 14.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.31, allocations: 335 kB / 1.297 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/1.311, allocations: 248.7 kB / 1.297 GB, free: 14.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/1.311, allocations: 0.5507 MB / 1.298 GB, free: 14.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/1.312, allocations: 0.8059 MB / 1.299 GB, free: 14.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.312, allocations: 2.625 kB / 1.299 GB, free: 14.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001284/1.314, allocations: 0.8467 MB / 1.299 GB, free: 13.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.314, allocations: 8.188 kB / 1.299 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.314, allocations: 9.406 kB / 1.299 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/1.314, allocations: 12.5 kB / 1.299 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/1.314, allocations: 155 kB / 1.3 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/1.314, allocations: 21.25 kB / 1.3 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.315, allocations: 147.7 kB / 1.3 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.235e-05/1.315, allocations: 37.41 kB / 1.3 GB, free: 13.88 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.0005516/1.316, allocations: 329.3 kB / 1.3 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.316, allocations: 92.34 kB / 1.3 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/1.317, allocations: 0.6188 MB / 1.301 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.317, allocations: 4.469 kB / 1.301 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.317, allocations: 4.469 kB / 1.301 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007469/1.318, allocations: 0.5196 MB / 1.301 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/1.321, allocations: 1.664 MB / 1.303 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.321, allocations: 2.625 kB / 1.303 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/1.321, allocations: 115 kB / 1.303 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/1.321, allocations: 4.531 kB / 1.303 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/1.321, allocations: 14.39 kB / 1.303 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.321, allocations: 4.062 kB / 1.303 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.321, allocations: 6.062 kB / 1.303 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/1.323, allocations: 1.019 MB / 1.304 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/1.323, allocations: 220.9 kB / 1.304 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/1.323, allocations: 11.5 kB / 1.304 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006241/1.324, allocations: 68.56 kB / 1.304 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.175e-05/1.324, allocations: 33.62 kB / 1.304 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/1.324, allocations: 20.09 kB / 1.304 GB, free: 12.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007752/1.325, allocations: 0.5171 MB / 1.305 GB, free: 12.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.082e-06/1.325, allocations: 0 / 1.305 GB, free: 12.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001313/1.326, allocations: 298.9 kB / 1.305 GB, free: 12.68 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.0006108/1.327, allocations: 202.9 kB / 1.305 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001359/1.328, allocations: 0.7181 MB / 1.306 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.328, allocations: 1.031 kB / 1.306 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003904/1.328, allocations: 280.8 kB / 1.306 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.33, allocations: 444.1 kB / 1.307 GB, free: 12.49 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/1.334, allocations: 2.322 MB / 1.309 GB, free: 11.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/1.335, allocations: 1.119 MB / 1.31 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001028/1.336, allocations: 274.9 kB / 1.31 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/1.336, allocations: 68.72 kB / 1.311 GB, free: 10.52 MB / 1.014 GB Notification: Performance of SimCode: time 1.353e-06/1.336, allocations: 0 / 1.311 GB, free: 10.52 MB / 1.014 GB Notification: Performance of Templates: time 0.02834/1.364, allocations: 15.34 MB / 1.326 GB, free: 9.562 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)