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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.2 MB / 303.2 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.001266/0.001266, allocations: 179.3 kB / 371.8 MB, free: 10.3 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.559/1.559, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009414/0.0009412, allocations: 105.1 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 11.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2011, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.642/4.843, allocations: 2.135 GB / 3.115 GB, free: 132.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/4.844, allocations: 95.31 kB / 3.115 GB, free: 132.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.556/12.4, allocations: 2.038 GB / 5.153 GB, free: 95.12 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.485e-06/12.4, allocations: 0 / 5.153 GB, free: 95.12 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004682/12.4, allocations: 93.39 kB / 5.153 GB, free: 95.12 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.01465/12.42, allocations: 3.962 MB / 5.157 GB, free: 93.85 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/12.42, allocations: 11.97 kB / 5.157 GB, free: 93.85 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002025/12.42, allocations: 389.6 kB / 5.157 GB, free: 93.8 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007337/12.42, allocations: 0.9234 MB / 5.158 GB, free: 93.6 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/12.43, allocations: 2.868 MB / 5.161 GB, free: 93.17 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000558/12.44, allocations: 288 kB / 5.161 GB, free: 93.1 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002063/12.44, allocations: 297.8 kB / 5.161 GB, free: 93.1 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01231/12.45, allocations: 3.19 MB / 5.164 GB, free: 92.84 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001724/12.45, allocations: 4.969 kB / 5.164 GB, free: 92.84 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001139/12.45, allocations: 116.7 kB / 5.165 GB, free: 92.84 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/12.45, allocations: 108.2 kB / 5.165 GB, free: 92.83 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006954/12.46, allocations: 2.629 MB / 5.167 GB, free: 92.8 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.02186/12.48, allocations: 13.18 MB / 5.18 GB, free: 85.72 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/12.48, allocations: 1.791 MB / 5.182 GB, free: 85.68 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004992/12.48, allocations: 326.8 kB / 5.182 GB, free: 85.4 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/12.48, allocations: 57.22 kB / 5.182 GB, free: 85.36 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 4.678e-06/12.48, allocations: 0 / 5.182 GB, free: 85.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.005765/12.49, allocations: 2.684 MB / 5.185 GB, free: 85.14 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/12.49, allocations: 70.81 kB / 5.185 GB, free: 85.08 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/12.49, allocations: 1.693 MB / 5.187 GB, free: 84.88 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003811/12.49, allocations: 70.67 kB / 5.187 GB, free: 84.84 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/12.49, allocations: 1.414 MB / 5.188 GB, free: 84.35 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008369/12.5, allocations: 0.6387 MB / 5.189 GB, free: 83.94 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/12.5, allocations: 38.19 kB / 5.189 GB, free: 83.94 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001976/12.5, allocations: 384.8 kB / 5.189 GB, free: 83.64 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/12.5, allocations: 0.7775 MB / 5.19 GB, free: 83.63 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/12.5, allocations: 1.464 MB / 5.191 GB, free: 82.86 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/12.5, allocations: 1.043 MB / 5.192 GB, free: 82.83 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/12.5, allocations: 3 kB / 5.192 GB, free: 82.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004554/12.51, allocations: 2.454 MB / 5.195 GB, free: 82.62 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001557/12.51, allocations: 5.518 MB / 5.2 GB, free: 76.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.936e-05/12.51, allocations: 17.03 kB / 5.2 GB, free: 76.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.101e-05/12.51, allocations: 24.59 kB / 5.2 GB, free: 76.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/12.51, allocations: 0.5098 MB / 5.201 GB, free: 76.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/12.51, allocations: 4.159 MB / 5.205 GB, free: 72.68 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/12.52, allocations: 376 kB / 5.205 GB, free: 72.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003815/12.52, allocations: 90.16 kB / 5.205 GB, free: 72.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/12.52, allocations: 3.406 kB / 5.205 GB, free: 72.57 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004033/12.52, allocations: 2.189 MB / 5.207 GB, free: 72.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/12.52, allocations: 14.56 kB / 5.207 GB, free: 72.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/12.52, allocations: 23.53 kB / 5.207 GB, free: 72.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/12.52, allocations: 473 kB / 5.208 GB, free: 72.52 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-05/12.52, allocations: 33.44 kB / 5.208 GB, free: 72.52 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004024/12.53, allocations: 346.4 kB / 5.208 GB, free: 72.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002826/12.53, allocations: 84.98 kB / 5.208 GB, free: 72.44 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.002411/12.53, allocations: 0.87 MB / 5.209 GB, free: 72.23 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/12.53, allocations: 269.1 kB / 5.209 GB, free: 72.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004047/12.53, allocations: 2.076 MB / 5.211 GB, free: 71.98 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/12.53, allocations: 18.12 kB / 5.211 GB, free: 71.98 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/12.53, allocations: 3.75 kB / 5.211 GB, free: 71.98 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002511/12.54, allocations: 1.849 MB / 5.213 GB, free: 71.68 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/12.55, allocations: 5.118 MB / 5.218 GB, free: 71.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/12.55, allocations: 6.703 kB / 5.218 GB, free: 71.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/12.55, allocations: 0.5083 MB / 5.219 GB, free: 71.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.205e-05/12.55, allocations: 7.344 kB / 5.219 GB, free: 71.14 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/12.55, allocations: 55.44 kB / 5.219 GB, free: 71.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/12.55, allocations: 4.123 MB / 5.223 GB, free: 67.05 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/12.55, allocations: 9.281 kB / 5.223 GB, free: 67.05 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/12.56, allocations: 3.544 MB / 5.226 GB, free: 66.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/12.56, allocations: 0.5693 MB / 5.227 GB, free: 66.05 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008429/12.56, allocations: 43.16 kB / 5.227 GB, free: 66.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/12.56, allocations: 248 kB / 5.227 GB, free: 66.03 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/12.56, allocations: 119.4 kB / 5.227 GB, free: 66.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/12.56, allocations: 71.42 kB / 5.227 GB, free: 66.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002905/12.57, allocations: 1.298 MB / 5.228 GB, free: 65.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.51e-07/12.57, allocations: 0 / 5.228 GB, free: 65.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.008327/12.58, allocations: 2.142 MB / 5.23 GB, free: 65.63 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.01404/12.59, allocations: 9.497 MB / 5.24 GB, free: 61.47 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006957/12.6, allocations: 3.203 MB / 5.243 GB, free: 61.41 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/12.6, allocations: 0 / 5.243 GB, free: 61.41 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/12.6, allocations: 1.005 MB / 5.244 GB, free: 61.41 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008324/12.61, allocations: 1.574 MB / 5.245 GB, free: 61.38 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02328/12.63, allocations: 19.25 MB / 5.264 GB, free: 47.39 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00499/12.64, allocations: 2.247 MB / 5.266 GB, free: 46.63 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.007473/12.64, allocations: 1.093 MB / 5.267 GB, free: 46.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003451/12.65, allocations: 1.249 MB / 5.269 GB, free: 46.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.503e-06/12.65, allocations: 0 / 5.269 GB, free: 46.6 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.196/12.84, allocations: 135.6 MB / 5.401 GB, free: 26.52 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/12.84, allocations: 260.1 kB / 5.401 GB, free: 26.16 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.808/19.65, allocations: 0 / 5.401 GB, free: 26.16 MB / 1.01 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)