Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.638/2.638, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001404/0.001404, allocations: 190.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.244/2.244, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009327/0.0009326, allocations: 92.91 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004817, allocations: 17.03 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2083, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.142/1.35, allocations: 278.7 MB / 1.251 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.07969/1.43, allocations: 23.98 MB / 1.274 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00596/1.436, allocations: 99.31 kB / 1.274 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.008992/1.445, allocations: 1.196 MB / 1.275 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.02821/1.473, allocations: 4.358 MB / 1.279 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01472/1.488, allocations: 1.94 MB / 1.281 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.02782/1.516, allocations: 10.39 MB / 1.292 GB, free: 11.18 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01008/1.526, allocations: 2.533 MB / 1.294 GB, free: 8.613 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01562/1.542, allocations: 3.194 MB / 1.297 GB, free: 5.406 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007567/1.549, allocations: 2.822 MB / 1.3 GB, free: 2.574 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001522/1.551, allocations: 152 kB / 1.3 GB, free: 2.426 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/1.562, allocations: 2.408 MB / 1.302 GB, free: 12 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.003575/1.566, allocations: 1.43 MB / 1.304 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002695/1.569, allocations: 0.7576 MB / 1.304 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0113/1.58, allocations: 4.734 MB / 1.309 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.58, allocations: 0 / 1.309 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.086e-06/1.58, allocations: 0 / 1.309 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002262/1.58, allocations: 0 / 1.309 GB, free: 9.066 MB / 0.8386 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.01101/1.591, allocations: 3.471 MB / 1.313 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.591, allocations: 12.03 kB / 1.313 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008859/1.6, allocations: 0.9321 MB / 1.313 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008454/1.609, allocations: 2.363 MB / 1.316 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/1.609, allocations: 273.3 kB / 1.316 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/1.61, allocations: 307.9 kB / 1.316 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/1.621, allocations: 3.335 MB / 1.32 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/1.621, allocations: 8 kB / 1.32 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004859/1.622, allocations: 112 kB / 1.32 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001968/1.622, allocations: 113.3 kB / 1.32 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009409/1.631, allocations: 2.785 MB / 1.322 GB, free: 11.11 MB / 0.8542 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.04281/1.674, allocations: 13.24 MB / 1.335 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007897/1.682, allocations: 1.875 MB / 1.337 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004949/1.687, allocations: 1.114 MB / 1.338 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/1.688, allocations: 333.2 kB / 1.339 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/1.689, allocations: 68.52 kB / 1.339 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=186): time 8.085e-06/1.689, allocations: 0 / 1.339 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of matching and sorting (n=186): time 0.01488/1.703, allocations: 2.762 MB / 1.341 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.704, allocations: 81.39 kB / 1.341 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006973/1.711, allocations: 1.949 MB / 1.343 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007163/1.711, allocations: 69.7 kB / 1.343 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002307/1.714, allocations: 1.387 MB / 1.345 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001583/1.715, allocations: 0.6584 MB / 1.345 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/1.716, allocations: 40 kB / 1.346 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003427/1.716, allocations: 390 kB / 1.346 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003475/1.72, allocations: 0.8004 MB / 1.347 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004861/1.724, allocations: 1.462 MB / 1.348 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003199/1.728, allocations: 1.06 MB / 1.349 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/1.728, allocations: 4 kB / 1.349 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007784/1.736, allocations: 2.494 MB / 1.352 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004342/1.736, allocations: 478.3 kB / 1.352 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/1.736, allocations: 15.94 kB / 1.352 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.208e-05/1.736, allocations: 24 kB / 1.352 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005247/1.741, allocations: 0.5617 MB / 1.353 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/1.745, allocations: 4.161 MB / 1.357 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005518/1.75, allocations: 376.5 kB / 1.357 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/1.751, allocations: 91.98 kB / 1.357 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.751, allocations: 4 kB / 1.357 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008051/1.759, allocations: 2.218 MB / 1.359 GB, free: 3.453 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.161e-05/1.759, allocations: 19.98 kB / 1.359 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-05/1.759, allocations: 28.12 kB / 1.359 GB, free: 3.406 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003914/1.763, allocations: 479.3 kB / 1.36 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-05/1.763, allocations: 31.91 kB / 1.36 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005612/1.769, allocations: 357 kB / 1.36 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004868/1.769, allocations: 87.98 kB / 1.36 GB, free: 2.473 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00273/1.772, allocations: 0.8616 MB / 1.361 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009915/1.773, allocations: 272.8 kB / 1.361 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006121/1.779, allocations: 2.138 MB / 1.363 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/1.779, allocations: 16 kB / 1.363 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.779, allocations: 4 kB / 1.363 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005284/1.785, allocations: 1.909 MB / 1.365 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/1.801, allocations: 5.208 MB / 1.37 GB, free: 7.895 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/1.801, allocations: 0 / 1.37 GB, free: 7.895 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005605/1.807, allocations: 0.5191 MB / 1.371 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.741e-05/1.807, allocations: 12 kB / 1.371 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003405/1.807, allocations: 55.94 kB / 1.371 GB, free: 7.309 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/1.81, allocations: 4.118 MB / 1.375 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/1.81, allocations: 7.938 kB / 1.375 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009505/1.82, allocations: 3.422 MB / 1.378 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/1.822, allocations: 0.5715 MB / 1.379 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008439/1.823, allocations: 43.98 kB / 1.379 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00451/1.828, allocations: 248.3 kB / 1.379 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004865/1.828, allocations: 114 kB / 1.379 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000275/1.828, allocations: 79.95 kB / 1.379 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003283/1.832, allocations: 1.302 MB / 1.381 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.022e-06/1.832, allocations: 0 / 1.381 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007134/1.839, allocations: 1.726 MB / 1.382 GB, free: 11.43 MB / 0.9167 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 (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/1.84, allocations: 381.8 kB / 1.383 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.851, allocations: 3.329 MB / 1.386 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/1.851, allocations: 4 kB / 1.386 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003473/1.855, allocations: 1.059 MB / 1.387 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01581/1.871, allocations: 1.607 MB / 1.389 GB, free: 5.094 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02986/1.901, allocations: 7.856 MB / 1.396 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005386/1.906, allocations: 2.185 MB / 1.398 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0109/1.917, allocations: 1.104 MB / 1.399 GB, free: 9.848 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00213/1.919, allocations: 227.4 kB / 1.4 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of SimCode: time 2.575e-06/1.919, allocations: 4 kB / 1.4 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of Templates: time 0.8234/2.743, allocations: 52.27 MB / 1.451 GB, free: 338.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)