Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.3 MB / 308.1 MB, free: 4.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 186.4 kB / 376.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 0.6354 GB, free: 9.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 98.98 kB / 0.748 GB, free: 61.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009918/0.0009917, allocations: 51.91 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2468, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7049/0.9517, allocations: 302.9 MB / 1.278 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03446/0.9862, allocations: 25.82 MB / 1.303 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004654/0.9909, allocations: 109.6 kB / 1.303 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.004972/0.996, allocations: 1.546 MB / 1.305 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01536/1.011, allocations: 5.601 MB / 1.31 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006808/1.018, allocations: 2.343 MB / 1.313 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01541/1.034, allocations: 12.4 MB / 1.325 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004975/1.039, allocations: 3.086 MB / 1.328 GB, free: 1.57 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01253/1.051, allocations: 3.686 MB / 1.331 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006781/1.058, allocations: 3.079 MB / 1.334 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001135/1.059, allocations: 192 kB / 1.335 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/1.07, allocations: 5.311 MB / 1.34 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002589/1.073, allocations: 1.496 MB / 1.341 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.004161/1.077, allocations: 1.948 MB / 1.343 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/1.09, allocations: 6.847 MB / 1.35 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.09, allocations: 4 kB / 1.35 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.744e-06/1.09, allocations: 0 / 1.35 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002291/1.09, allocations: 4 kB / 1.35 GB, free: 11 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01006/1.1, allocations: 4.152 MB / 1.354 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.1, allocations: 8.031 kB / 1.354 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/1.106, allocations: 0.9283 MB / 1.355 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00466/1.11, allocations: 2.24 MB / 1.357 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002609/1.111, allocations: 277.2 kB / 1.357 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005336/1.111, allocations: 295.9 kB / 1.357 GB, free: 2.949 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005685/1.117, allocations: 3.351 MB / 1.361 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.362e-05/1.117, allocations: 4 kB / 1.361 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/1.117, allocations: 115.9 kB / 1.361 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/1.117, allocations: 109.3 kB / 1.361 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004501/1.122, allocations: 2.785 MB / 1.364 GB, free: 12.49 MB / 0.9323 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.3963/1.518, allocations: 13.18 MB / 1.377 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/1.521, allocations: 1.827 MB / 1.378 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/1.522, allocations: 1.102 MB / 1.379 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004003/1.522, allocations: 329 kB / 1.38 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/1.523, allocations: 58.19 kB / 1.38 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=182): time 3.918e-06/1.523, allocations: 0 / 1.38 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.004482/1.527, allocations: 2.72 MB / 1.382 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/1.527, allocations: 71.06 kB / 1.383 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002846/1.53, allocations: 1.981 MB / 1.384 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002659/1.53, allocations: 68.83 kB / 1.385 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008918/1.531, allocations: 1.395 MB / 1.386 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005174/1.532, allocations: 0.6398 MB / 1.386 GB, free: 278.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005609/1.532, allocations: 389.3 kB / 1.387 GB, free: 278.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.003e-05/1.532, allocations: 303.8 kB / 1.387 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/1.534, allocations: 0.8091 MB / 1.388 GB, free: 278 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/1.535, allocations: 1.44 MB / 1.389 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/1.538, allocations: 2.246 MB / 1.392 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/1.538, allocations: 7.688 kB / 1.392 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004165/1.542, allocations: 2.481 MB / 1.394 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/1.542, allocations: 13.48 kB / 1.394 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/1.542, allocations: 13.53 kB / 1.394 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.944e-05/1.542, allocations: 25.28 kB / 1.394 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/1.545, allocations: 0.5543 MB / 1.395 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/1.547, allocations: 4.156 MB / 1.399 GB, free: 271 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/1.55, allocations: 376.6 kB / 1.399 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/1.55, allocations: 87.48 kB / 1.399 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002534/1.553, allocations: 1.462 MB / 1.4 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00142/1.554, allocations: 1.42 MB / 1.402 GB, free: 269.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002462/1.557, allocations: 2.233 MB / 1.404 GB, free: 268 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.544e-06/1.557, allocations: 6.031 kB / 1.404 GB, free: 268 MB / 0.9323 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.003725/1.56, allocations: 2.466 MB / 1.406 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.56, allocations: 15.41 kB / 1.406 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.56, allocations: 12.38 kB / 1.407 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/1.56, allocations: 29.27 kB / 1.407 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/1.562, allocations: 468.4 kB / 1.407 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/1.562, allocations: 32.73 kB / 1.407 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/1.565, allocations: 336.6 kB / 1.407 GB, free: 267 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/1.565, allocations: 86.12 kB / 1.407 GB, free: 267 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005651/1.566, allocations: 322.7 kB / 1.408 GB, free: 266.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005072/1.566, allocations: 267.5 kB / 1.408 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/1.57, allocations: 2.094 MB / 1.41 GB, free: 265.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/1.57, allocations: 22.06 kB / 1.41 GB, free: 265.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.57, allocations: 0.6562 kB / 1.41 GB, free: 265.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002289/1.572, allocations: 1.875 MB / 1.412 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008478/1.58, allocations: 5.161 MB / 1.417 GB, free: 262.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.58, allocations: 3.625 kB / 1.417 GB, free: 262.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/1.583, allocations: 0.4995 MB / 1.417 GB, free: 262.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.955e-05/1.583, allocations: 9.312 kB / 1.417 GB, free: 262.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/1.583, allocations: 53.69 kB / 1.417 GB, free: 262.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/1.584, allocations: 4.131 MB / 1.421 GB, free: 258.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.584, allocations: 2.938 kB / 1.422 GB, free: 258.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0271/1.611, allocations: 17.76 MB / 1.439 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.612, allocations: 0.5562 MB / 1.439 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/1.613, allocations: 47.78 kB / 1.439 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.614, allocations: 239.7 kB / 1.44 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/1.615, allocations: 116 kB / 1.44 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/1.615, allocations: 72.69 kB / 1.44 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001502/1.616, allocations: 1.321 MB / 1.441 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.8e-07/1.616, allocations: 3.562 kB / 1.441 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008446/1.625, allocations: 2.758 MB / 1.444 GB, free: 248.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.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 (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008006/1.626, allocations: 358 kB / 1.444 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005368/1.631, allocations: 3.303 MB / 1.447 GB, free: 247.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.631, allocations: 8.438 kB / 1.447 GB, free: 247.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/1.633, allocations: 1.037 MB / 1.448 GB, free: 247 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007582/1.64, allocations: 1.594 MB / 1.45 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/1.651, allocations: 8.853 MB / 1.459 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/1.653, allocations: 2.239 MB / 1.461 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004547/1.657, allocations: 1.127 MB / 1.462 GB, free: 240.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008053/1.658, allocations: 225 kB / 1.462 GB, free: 240.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.012e-06/1.658, allocations: 4 kB / 1.462 GB, free: 240.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.09712/1.755, allocations: 59.38 MB / 1.52 GB, free: 217.5 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)