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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009849, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009284/0.0009289, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.601/1.601, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005526/0.0005528, allocations: 13.31 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2044, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6359/0.8403, allocations: 247.2 MB / 1.029 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02977/0.8701, allocations: 23.71 MB / 1.052 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005127/0.8753, allocations: 95.69 kB / 1.052 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006264/0.8816, allocations: 1.71 MB / 1.053 GB, free: 7.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01714/0.8988, allocations: 5.76 MB / 1.059 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007645/0.9065, allocations: 2.699 MB / 1.062 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009361/0.9158, allocations: 5.084 MB / 1.067 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004061/0.9199, allocations: 2.568 MB / 1.069 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006141/0.9261, allocations: 2.613 MB / 1.072 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004086/0.9302, allocations: 1.899 MB / 1.074 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0006462/0.9309, allocations: 156 kB / 1.074 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007416/0.9383, allocations: 2.087 MB / 1.076 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.9405, allocations: 1.309 MB / 1.077 GB, free: 15.42 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.9426, allocations: 0.7576 MB / 1.078 GB, free: 14.66 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006799/0.9494, allocations: 4.497 MB / 1.082 GB, free: 10.15 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.9494, allocations: 0 / 1.082 GB, free: 10.15 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9494, allocations: 4 kB / 1.082 GB, free: 10.14 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001173/0.9496, allocations: 0 / 1.082 GB, free: 10.14 MB / 0.795 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.005782/0.9554, allocations: 3.405 MB / 1.086 GB, free: 6.672 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.9554, allocations: 8.031 kB / 1.086 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005075/0.9605, allocations: 0.9361 MB / 1.086 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00434/0.9648, allocations: 2.203 MB / 1.089 GB, free: 3.441 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.9651, allocations: 273.4 kB / 1.089 GB, free: 3.16 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003943/0.9655, allocations: 303.9 kB / 1.089 GB, free: 2.863 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004887/0.9704, allocations: 3.324 MB / 1.092 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.868e-05/0.9704, allocations: 4 kB / 1.092 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.9707, allocations: 112 kB / 1.092 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.9708, allocations: 117.3 kB / 1.093 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/0.9749, allocations: 2.781 MB / 1.095 GB, free: 12.43 MB / 0.8106 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.01417/0.9891, allocations: 13.25 MB / 1.108 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.9915, allocations: 1.871 MB / 1.11 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.9917, allocations: 57.92 kB / 1.11 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.9917, allocations: 64.56 kB / 1.11 GB, free: 12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=186): time 3.277e-06/0.9917, allocations: 0 / 1.11 GB, free: 12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=186): time 0.004493/0.9962, allocations: 2.774 MB / 1.113 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.9963, allocations: 73.39 kB / 1.113 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.9985, allocations: 1.949 MB / 1.115 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.9987, allocations: 77.69 kB / 1.115 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009536/0.9997, allocations: 1.395 MB / 1.116 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005794/1, allocations: 0.6546 MB / 1.117 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/1, allocations: 40 kB / 1.117 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.001, allocations: 394 kB / 1.117 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/1.002, allocations: 0.8004 MB / 1.118 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/1.003, allocations: 1.451 MB / 1.12 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/1.005, allocations: 1.056 MB / 1.121 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.005, allocations: 4 kB / 1.121 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00357/1.008, allocations: 2.49 MB / 1.123 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.00186/1.01, allocations: 5.24 MB / 1.128 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/1.01, allocations: 12 kB / 1.128 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.541e-05/1.01, allocations: 24 kB / 1.128 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/1.013, allocations: 0.5578 MB / 1.129 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/1.015, allocations: 4.165 MB / 1.133 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/1.018, allocations: 376.3 kB / 1.133 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/1.018, allocations: 87.98 kB / 1.133 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/1.018, allocations: 4 kB / 1.133 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003654/1.022, allocations: 2.226 MB / 1.135 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/1.022, allocations: 16 kB / 1.135 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/1.022, allocations: 24 kB / 1.135 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.024, allocations: 483.3 kB / 1.136 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.014e-05/1.024, allocations: 23.94 kB / 1.136 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/1.027, allocations: 365.2 kB / 1.136 GB, free: 264 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/1.027, allocations: 87.98 kB / 1.136 GB, free: 176 kB / 0.8419 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.00164/1.029, allocations: 0.8661 MB / 1.137 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/1.029, allocations: 268.8 kB / 1.137 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/1.033, allocations: 2.13 MB / 1.14 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/1.033, allocations: 16 kB / 1.14 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.033, allocations: 4 kB / 1.14 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002493/1.035, allocations: 1.918 MB / 1.141 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008551/1.044, allocations: 5.204 MB / 1.147 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.044, allocations: 0 / 1.147 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/1.046, allocations: 0.5115 MB / 1.147 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.741e-05/1.046, allocations: 12 kB / 1.147 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/1.046, allocations: 51.98 kB / 1.147 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/1.048, allocations: 4.126 MB / 1.151 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.048, allocations: 8.094 kB / 1.151 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004732/1.053, allocations: 3.645 MB / 1.155 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/1.055, allocations: 0.5756 MB / 1.155 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000477/1.055, allocations: 40 kB / 1.155 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/1.057, allocations: 247.4 kB / 1.156 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/1.058, allocations: 121.8 kB / 1.156 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.058, allocations: 75.91 kB / 1.156 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001957/1.06, allocations: 1.298 MB / 1.157 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.06, allocations: 0 / 1.157 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004581/1.064, allocations: 1.729 MB / 1.159 GB, free: 8.832 MB / 0.8731 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.0007721/1.065, allocations: 380 kB / 1.159 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005944/1.071, allocations: 3.341 MB / 1.162 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.071, allocations: 4 kB / 1.162 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/1.073, allocations: 1.047 MB / 1.163 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006974/1.08, allocations: 1.575 MB / 1.165 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/1.091, allocations: 7.833 MB / 1.173 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002371/1.093, allocations: 2.236 MB / 1.175 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.004127/1.097, allocations: 1.107 MB / 1.176 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006851/1.098, allocations: 235.4 kB / 1.176 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of SimCode: time 6.41e-07/1.098, allocations: 0 / 1.176 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of Templates: time 0.08072/1.179, allocations: 52.22 MB / 1.227 GB, free: 3.453 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: