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.502/2.502, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001549/0.001549, allocations: 188.8 kB / 360.6 MB, free: 7.324 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.025/2.025, allocations: 205.3 MB / 0.6191 GB, free: 12.25 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.001144/0.001144, allocations: 96.08 kB / 0.7321 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.685e-05, allocations: 4 kB / 0.8508 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8795/0.8795, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.748/7.628, allocations: 2.134 GB / 3.098 GB, free: 289.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/7.628, allocations: 88.89 kB / 3.098 GB, free: 289.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.46/18.09, allocations: 2.014 GB / 5.112 GB, free: 81.11 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.003e-06/18.09, allocations: 0 / 5.112 GB, free: 81.11 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004793/18.09, allocations: 95.62 kB / 5.112 GB, free: 81.1 MB / 0.9948 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.01403/18.1, allocations: 3.463 MB / 5.115 GB, free: 79.69 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/18.1, allocations: 9.688 kB / 5.115 GB, free: 79.69 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/18.11, allocations: 0.9321 MB / 5.116 GB, free: 79.48 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/18.13, allocations: 2.845 MB / 5.119 GB, free: 78.89 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/18.13, allocations: 173.2 kB / 5.119 GB, free: 78.82 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/18.13, allocations: 172.8 kB / 5.119 GB, free: 78.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008137/18.13, allocations: 2.427 MB / 5.122 GB, free: 78.81 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009862/18.14, allocations: 2.743 MB / 5.124 GB, free: 78.57 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/18.14, allocations: 10.02 kB / 5.124 GB, free: 78.57 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/18.15, allocations: 3.906 kB / 5.124 GB, free: 78.57 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/18.15, allocations: 106.1 kB / 5.124 GB, free: 78.56 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.02771/18.17, allocations: 12.67 MB / 5.137 GB, free: 71.45 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/18.18, allocations: 1.687 MB / 5.138 GB, free: 71.41 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/18.18, allocations: 1.004 MB / 5.139 GB, free: 71.39 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007488/18.18, allocations: 328.2 kB / 5.14 GB, free: 71.11 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/18.18, allocations: 60.5 kB / 5.14 GB, free: 71.07 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=182): time 5.12e-06/18.18, allocations: 2.844 kB / 5.14 GB, free: 71.07 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.006284/18.19, allocations: 1.85 MB / 5.141 GB, free: 70.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/18.19, allocations: 75.16 kB / 5.142 GB, free: 70.79 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/18.19, allocations: 1.417 MB / 5.143 GB, free: 70.58 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006119/18.19, allocations: 28.89 kB / 5.143 GB, free: 70.55 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001288/18.19, allocations: 1.397 MB / 5.144 GB, free: 69.98 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/18.19, allocations: 0.6229 MB / 5.145 GB, free: 69.57 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/18.19, allocations: 0 / 5.145 GB, free: 69.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001551/18.19, allocations: 392 kB / 5.145 GB, free: 69.26 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/18.2, allocations: 0.7205 MB / 5.146 GB, free: 69.25 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/18.2, allocations: 1.385 MB / 5.147 GB, free: 68.47 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/18.2, allocations: 0.9862 MB / 5.148 GB, free: 68.45 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/18.2, allocations: 3.562 kB / 5.148 GB, free: 68.45 MB / 0.9948 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00617/18.21, allocations: 2.225 MB / 5.151 GB, free: 68.21 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00117/18.21, allocations: 5.47 MB / 5.156 GB, free: 62.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.494e-05/18.21, allocations: 15 kB / 5.156 GB, free: 62.37 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.107e-05/18.21, allocations: 26.42 kB / 5.156 GB, free: 62.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005027/18.21, allocations: 0.5173 MB / 5.156 GB, free: 62.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/18.22, allocations: 4.183 MB / 5.16 GB, free: 58.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005975/18.22, allocations: 308.2 kB / 5.161 GB, free: 58.13 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006571/18.22, allocations: 88.41 kB / 5.161 GB, free: 58.13 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/18.22, allocations: 2.875 kB / 5.161 GB, free: 58.13 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005368/18.23, allocations: 1.92 MB / 5.163 GB, free: 58.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/18.23, allocations: 12.84 kB / 5.163 GB, free: 58.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.678e-05/18.23, allocations: 31.56 kB / 5.163 GB, free: 58.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/18.23, allocations: 470.9 kB / 5.163 GB, free: 57.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-05/18.23, allocations: 36.77 kB / 5.163 GB, free: 57.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005717/18.24, allocations: 293.7 kB / 5.164 GB, free: 57.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000602/18.24, allocations: 89.81 kB / 5.164 GB, free: 57.9 MB / 0.9948 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 () * 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.0007285/18.24, allocations: 159.5 kB / 5.164 GB, free: 57.76 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004973/18.24, allocations: 1.752 MB / 5.165 GB, free: 57.55 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/18.24, allocations: 250.8 kB / 5.166 GB, free: 57.43 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00501/18.25, allocations: 1.895 MB / 5.168 GB, free: 57.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/18.25, allocations: 15.22 kB / 5.168 GB, free: 57.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/18.25, allocations: 3.156 kB / 5.168 GB, free: 57.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003631/18.25, allocations: 1.725 MB / 5.169 GB, free: 57 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/18.27, allocations: 4.64 MB / 5.174 GB, free: 56.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/18.27, allocations: 2.531 kB / 5.174 GB, free: 56.47 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004726/18.27, allocations: 0.5036 MB / 5.174 GB, free: 56.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.197e-05/18.27, allocations: 12.25 kB / 5.174 GB, free: 56.45 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003493/18.27, allocations: 29.91 kB / 5.174 GB, free: 56.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/18.27, allocations: 4.128 MB / 5.178 GB, free: 52.35 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/18.27, allocations: 7.406 kB / 5.178 GB, free: 52.35 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006855/18.28, allocations: 3.353 MB / 5.182 GB, free: 51.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/18.28, allocations: 0.5454 MB / 5.182 GB, free: 51.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008505/18.28, allocations: 17.5 kB / 5.182 GB, free: 51.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004879/18.29, allocations: 221 kB / 5.182 GB, free: 51.33 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005428/18.29, allocations: 115.6 kB / 5.183 GB, free: 51.33 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002556/18.29, allocations: 72.06 kB / 5.183 GB, free: 51.33 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002513/18.29, allocations: 1.045 MB / 5.184 GB, free: 51.18 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.11e-07/18.29, allocations: 3.5 kB / 5.184 GB, free: 51.18 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.008475/18.3, allocations: 1.914 MB / 5.185 GB, free: 50.92 MB / 0.9948 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 () * 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.01667/18.32, allocations: 9.747 MB / 5.195 GB, free: 46.74 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008892/18.33, allocations: 3.06 MB / 5.198 GB, free: 46.59 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/18.33, allocations: 3.938 kB / 5.198 GB, free: 46.59 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002634/18.33, allocations: 0.9442 MB / 5.199 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01294/18.34, allocations: 1.455 MB / 5.2 GB, free: 46.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/18.36, allocations: 6.148 MB / 5.206 GB, free: 44.82 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002723/18.36, allocations: 2.241 MB / 5.209 GB, free: 44.03 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.008415/18.37, allocations: 1.258 MB / 5.21 GB, free: 43.89 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002866/18.37, allocations: 1.21 MB / 5.211 GB, free: 43.89 MB / 0.9948 GB Notification: Performance of SimCode: time 1.192e-06/18.37, allocations: 0 / 5.211 GB, free: 43.89 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/19.47, allocations: 104.6 MB / 5.313 GB, free: 116.9 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/19.47, allocations: 175.5 kB / 5.313 GB, free: 116.7 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/27.48, allocations: 2.625 kB / 5.313 GB, free: 116.7 MB / 1.026 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)