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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.682/2.682, allocations: 287.3 MB / 302.3 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.00154/0.00154, allocations: 186.2 kB / 370.8 MB, free: 10.85 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.091/2.091, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001185/0.001184, allocations: 84.11 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006571/0.0006572, allocations: 13.17 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2318, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.188/7.42, allocations: 2.135 GB / 3.113 GB, free: 120.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/7.421, allocations: 96.62 kB / 3.113 GB, free: 120.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.62/19.04, allocations: 2.038 GB / 5.151 GB, free: 95.17 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.584e-06/19.04, allocations: 0 / 5.151 GB, free: 95.17 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004776/19.05, allocations: 96.64 kB / 5.151 GB, free: 95.17 MB / 1.01 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.01748/19.06, allocations: 3.956 MB / 5.155 GB, free: 93.9 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/19.06, allocations: 12.09 kB / 5.155 GB, free: 93.9 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00205/19.07, allocations: 392.7 kB / 5.156 GB, free: 93.85 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009815/19.07, allocations: 0.9209 MB / 5.157 GB, free: 93.66 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/19.09, allocations: 2.864 MB / 5.159 GB, free: 93.23 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004484/19.09, allocations: 279.2 kB / 5.16 GB, free: 93.16 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001425/19.09, allocations: 304.3 kB / 5.16 GB, free: 93.16 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/19.1, allocations: 3.196 MB / 5.163 GB, free: 92.9 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/19.1, allocations: 1.406 kB / 5.163 GB, free: 92.9 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005437/19.1, allocations: 119 kB / 5.163 GB, free: 92.89 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/19.1, allocations: 104.1 kB / 5.163 GB, free: 92.89 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009306/19.11, allocations: 2.636 MB / 5.166 GB, free: 92.86 MB / 1.01 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.02698/19.14, allocations: 13.17 MB / 5.179 GB, free: 85.78 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004317/19.14, allocations: 1.796 MB / 5.18 GB, free: 85.73 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/19.14, allocations: 334.7 kB / 5.181 GB, free: 85.45 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/19.14, allocations: 57.75 kB / 5.181 GB, free: 85.41 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 4.589e-06/19.14, allocations: 0 / 5.181 GB, free: 85.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.009121/19.15, allocations: 2.678 MB / 5.183 GB, free: 85.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/19.15, allocations: 72.56 kB / 5.184 GB, free: 85.13 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/19.16, allocations: 1.692 MB / 5.185 GB, free: 84.93 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006821/19.16, allocations: 72.14 kB / 5.185 GB, free: 84.89 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/19.16, allocations: 1.406 MB / 5.187 GB, free: 84.38 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/19.16, allocations: 0.6388 MB / 5.187 GB, free: 83.97 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/19.16, allocations: 40.97 kB / 5.187 GB, free: 83.97 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001708/19.16, allocations: 385.8 kB / 5.188 GB, free: 83.66 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/19.16, allocations: 0.7812 MB / 5.188 GB, free: 83.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002847/19.17, allocations: 1.459 MB / 5.19 GB, free: 82.88 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002968/19.17, allocations: 1.045 MB / 5.191 GB, free: 82.86 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/19.17, allocations: 2.969 kB / 5.191 GB, free: 82.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007424/19.18, allocations: 2.454 MB / 5.193 GB, free: 82.65 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001203/19.18, allocations: 5.52 MB / 5.199 GB, free: 76.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-05/19.18, allocations: 14.72 kB / 5.199 GB, free: 76.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.433e-05/19.18, allocations: 21.69 kB / 5.199 GB, free: 76.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004798/19.18, allocations: 0.5129 MB / 5.199 GB, free: 76.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/19.19, allocations: 4.156 MB / 5.203 GB, free: 72.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006206/19.19, allocations: 371.5 kB / 5.204 GB, free: 72.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005551/19.19, allocations: 87 kB / 5.204 GB, free: 72.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/19.19, allocations: 3.562 kB / 5.204 GB, free: 72.6 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005928/19.2, allocations: 2.187 MB / 5.206 GB, free: 72.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/19.2, allocations: 17.25 kB / 5.206 GB, free: 72.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.378e-05/19.2, allocations: 23.38 kB / 5.206 GB, free: 72.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/19.2, allocations: 475.2 kB / 5.206 GB, free: 72.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.771e-05/19.2, allocations: 31.66 kB / 5.206 GB, free: 72.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005732/19.21, allocations: 344.4 kB / 5.207 GB, free: 72.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00054/19.21, allocations: 90.36 kB / 5.207 GB, free: 72.46 MB / 1.01 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 (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.002882/19.21, allocations: 0.8677 MB / 5.208 GB, free: 72.27 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/19.21, allocations: 265.8 kB / 5.208 GB, free: 72.13 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005906/19.22, allocations: 2.072 MB / 5.21 GB, free: 72.02 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/19.22, allocations: 18.59 kB / 5.21 GB, free: 72.02 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/19.22, allocations: 0 / 5.21 GB, free: 72.02 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004773/19.22, allocations: 1.86 MB / 5.212 GB, free: 71.71 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/19.24, allocations: 5.127 MB / 5.217 GB, free: 71.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/19.24, allocations: 7.547 kB / 5.217 GB, free: 71.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004748/19.24, allocations: 0.5018 MB / 5.217 GB, free: 71.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.951e-05/19.24, allocations: 10.88 kB / 5.217 GB, free: 71.17 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003513/19.24, allocations: 53.69 kB / 5.217 GB, free: 71.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/19.25, allocations: 4.125 MB / 5.221 GB, free: 67.07 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/19.25, allocations: 9.891 kB / 5.221 GB, free: 67.07 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008168/19.25, allocations: 3.55 MB / 5.225 GB, free: 66.33 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002622/19.26, allocations: 0.5675 MB / 5.225 GB, free: 66.08 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009289/19.26, allocations: 41.5 kB / 5.225 GB, free: 66.08 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004946/19.26, allocations: 256.8 kB / 5.226 GB, free: 66.05 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006166/19.26, allocations: 120.5 kB / 5.226 GB, free: 66.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002514/19.26, allocations: 67.55 kB / 5.226 GB, free: 66.05 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003119/19.27, allocations: 1.296 MB / 5.227 GB, free: 65.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.52e-07/19.27, allocations: 0 / 5.227 GB, free: 65.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009497/19.28, allocations: 2.136 MB / 5.229 GB, free: 65.66 MB / 1.01 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 (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.01942/19.3, allocations: 9.498 MB / 5.238 GB, free: 61.48 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00988/19.31, allocations: 3.202 MB / 5.242 GB, free: 61.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/19.31, allocations: 4.75 kB / 5.242 GB, free: 61.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002982/19.31, allocations: 1.001 MB / 5.243 GB, free: 61.42 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0138/19.32, allocations: 1.576 MB / 5.244 GB, free: 61.39 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/19.35, allocations: 19.25 MB / 5.263 GB, free: 47.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/19.35, allocations: 2.241 MB / 5.265 GB, free: 46.65 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006699/19.36, allocations: 1.087 MB / 5.266 GB, free: 46.62 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00322/19.36, allocations: 1.261 MB / 5.267 GB, free: 46.61 MB / 1.01 GB Notification: Performance of SimCode: time 2.816e-06/19.36, allocations: 0 / 5.267 GB, free: 46.61 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2893/19.65, allocations: 135.6 MB / 5.4 GB, free: 21.63 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/19.65, allocations: 256.8 kB / 5.4 GB, free: 21.3 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.013/28.66, allocations: 0 / 5.4 GB, free: 21.3 MB / 1.01 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)