Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 288.3 MB / 303.2 MB, free: 8.043 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.001081/0.001081, allocations: 185 kB / 371.9 MB, free: 10.23 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.482/1.482, allocations: 205.4 MB / 0.6306 GB, free: 9.977 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.0009231/0.0009231, allocations: 93.44 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005122/0.0005123, allocations: 19.23 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1913, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.672/0.8633, allocations: 247.2 MB / 1.221 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.04518/0.9085, allocations: 23.71 MB / 1.244 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005259/0.9138, allocations: 95.31 kB / 1.244 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.008591/0.9225, allocations: 1.711 MB / 1.246 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.02428/0.9468, allocations: 5.754 MB / 1.251 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.009189/0.956, allocations: 2.698 MB / 1.254 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0107/0.9667, allocations: 5.087 MB / 1.259 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005048/0.9718, allocations: 2.568 MB / 1.261 GB, free: 7.359 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006774/0.9786, allocations: 2.609 MB / 1.264 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004422/0.9831, allocations: 1.899 MB / 1.266 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.9843, allocations: 152 kB / 1.266 GB, free: 2.688 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007153/0.9915, allocations: 2.094 MB / 1.268 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002709/0.9943, allocations: 1.305 MB / 1.269 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002566/0.9969, allocations: 0.7576 MB / 1.27 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.008666/1.006, allocations: 4.504 MB / 1.274 GB, free: 10 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.006, allocations: 0 / 1.274 GB, free: 10 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.546e-06/1.006, allocations: 0 / 1.274 GB, free: 10 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002453/1.006, allocations: 0 / 1.274 GB, free: 10 MB / 0.8073 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.007501/1.013, allocations: 3.405 MB / 1.278 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.013, allocations: 8.031 kB / 1.278 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005995/1.019, allocations: 0.94 MB / 1.279 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00593/1.025, allocations: 2.195 MB / 1.281 GB, free: 3.305 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/1.026, allocations: 285.3 kB / 1.281 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008428/1.027, allocations: 295.9 kB / 1.281 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008076/1.035, allocations: 3.32 MB / 1.285 GB, free: 15.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-05/1.035, allocations: 4 kB / 1.285 GB, free: 15.31 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004761/1.035, allocations: 115.9 kB / 1.285 GB, free: 15.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/1.035, allocations: 113.3 kB / 1.285 GB, free: 15.09 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005746/1.041, allocations: 2.785 MB / 1.288 GB, free: 12.29 MB / 0.823 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.01958/1.061, allocations: 13.23 MB / 1.301 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00303/1.064, allocations: 1.875 MB / 1.302 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/1.064, allocations: 61.91 kB / 1.302 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/1.064, allocations: 60.56 kB / 1.302 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=186): time 3.597e-06/1.064, allocations: 4 kB / 1.303 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=186): time 0.005388/1.07, allocations: 2.774 MB / 1.305 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/1.07, allocations: 73.34 kB / 1.305 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003059/1.073, allocations: 1.957 MB / 1.307 GB, free: 7.012 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003045/1.073, allocations: 73.7 kB / 1.307 GB, free: 6.934 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/1.074, allocations: 1.391 MB / 1.309 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006906/1.075, allocations: 0.6507 MB / 1.309 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/1.075, allocations: 40 kB / 1.309 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002033/1.075, allocations: 390 kB / 1.31 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/1.077, allocations: 0.7966 MB / 1.31 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/1.079, allocations: 1.455 MB / 1.312 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/1.081, allocations: 1.056 MB / 1.313 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/1.081, allocations: 8 kB / 1.313 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004472/1.085, allocations: 2.49 MB / 1.315 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00219/1.087, allocations: 5.24 MB / 1.32 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/1.087, allocations: 16 kB / 1.32 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.842e-05/1.087, allocations: 24 kB / 1.32 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/1.09, allocations: 0.5616 MB / 1.321 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/1.092, allocations: 4.165 MB / 1.325 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00334/1.096, allocations: 371.6 kB / 1.325 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/1.096, allocations: 95.97 kB / 1.326 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.096, allocations: 5.406 kB / 1.326 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004016/1.1, allocations: 2.218 MB / 1.328 GB, free: 1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.42e-05/1.1, allocations: 12 kB / 1.328 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/1.1, allocations: 28 kB / 1.328 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/1.102, allocations: 483.9 kB / 1.328 GB, free: 500 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.536e-05/1.102, allocations: 27.94 kB / 1.328 GB, free: 472 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/1.105, allocations: 360.9 kB / 1.329 GB, free: 112 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/1.106, allocations: 91.98 kB / 1.329 GB, free: 20 kB / 0.8542 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.001971/1.108, allocations: 0.8634 MB / 1.33 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/1.109, allocations: 268.8 kB / 1.33 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004421/1.113, allocations: 2.134 MB / 1.332 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/1.113, allocations: 16 kB / 1.332 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.113, allocations: 4 kB / 1.332 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002848/1.116, allocations: 1.913 MB / 1.334 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/1.126, allocations: 5.204 MB / 1.339 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.126, allocations: 4 kB / 1.339 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/1.129, allocations: 0.5113 MB / 1.339 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.809e-05/1.129, allocations: 12 kB / 1.339 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/1.129, allocations: 51.97 kB / 1.339 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/1.132, allocations: 4.126 MB / 1.343 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.132, allocations: 11.94 kB / 1.343 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/1.137, allocations: 3.645 MB / 1.347 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/1.139, allocations: 0.5756 MB / 1.348 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005823/1.14, allocations: 40 kB / 1.348 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/1.142, allocations: 253.2 kB / 1.348 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/1.143, allocations: 109.8 kB / 1.348 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/1.143, allocations: 71.97 kB / 1.348 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002398/1.145, allocations: 1.302 MB / 1.349 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/1.145, allocations: 0 / 1.349 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004982/1.15, allocations: 1.733 MB / 1.351 GB, free: 8.676 MB / 0.8855 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.0008666/1.151, allocations: 374.1 kB / 1.351 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006663/1.158, allocations: 3.348 MB / 1.355 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.158, allocations: 4 kB / 1.355 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/1.16, allocations: 1.047 MB / 1.356 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008388/1.168, allocations: 1.573 MB / 1.357 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/1.182, allocations: 7.832 MB / 1.365 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002903/1.185, allocations: 2.24 MB / 1.367 GB, free: 8.191 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004897/1.19, allocations: 1.107 MB / 1.368 GB, free: 7.078 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009199/1.191, allocations: 227.4 kB / 1.368 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of SimCode: time 2.164e-06/1.191, allocations: 0 / 1.368 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of Templates: time 0.08785/1.279, allocations: 52.23 MB / 1.419 GB, free: 3.109 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)