Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.559/1.559, allocations: 249.3 MB / 261.8 MB, free: 5.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001147, allocations: 186.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009768/0.0009768, allocations: 94.47 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.65e-05/4.662e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2657, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.667/6.933, allocations: 2.253 GB / 3.145 GB, free: 77.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/6.933, allocations: 87.62 kB / 3.145 GB, free: 77.36 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.042/14.98, allocations: 1.982 GB / 5.127 GB, free: 74.78 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.124e-06/14.98, allocations: 6.562 kB / 5.127 GB, free: 74.78 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000423/14.98, allocations: 98.27 kB / 5.127 GB, free: 74.77 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.01474/14.99, allocations: 3.476 MB / 5.13 GB, free: 73.21 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/14.99, allocations: 11.12 kB / 5.13 GB, free: 73.21 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001224/14.99, allocations: 394.4 kB / 5.131 GB, free: 73.16 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006653/15, allocations: 0.93 MB / 5.132 GB, free: 72.96 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008355/15.01, allocations: 2.863 MB / 5.134 GB, free: 72.34 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/15.01, allocations: 277.2 kB / 5.135 GB, free: 72.27 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008369/15.01, allocations: 302 kB / 5.135 GB, free: 72.27 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006108/15.01, allocations: 3.171 MB / 5.138 GB, free: 72 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.217e-05/15.01, allocations: 3.312 kB / 5.138 GB, free: 72 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002938/15.01, allocations: 116.9 kB / 5.138 GB, free: 72 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/15.01, allocations: 107.5 kB / 5.138 GB, free: 72 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004168/15.02, allocations: 2.584 MB / 5.141 GB, free: 71.95 MB / 0.9323 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.01822/15.04, allocations: 13.24 MB / 5.154 GB, free: 64.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/15.04, allocations: 1.724 MB / 5.155 GB, free: 64.54 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/15.04, allocations: 1.042 MB / 5.157 GB, free: 64.52 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/15.04, allocations: 330.2 kB / 5.157 GB, free: 64.23 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.857e-05/15.04, allocations: 62.91 kB / 5.157 GB, free: 64.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=182): time 3.987e-06/15.04, allocations: 3.938 kB / 5.157 GB, free: 64.19 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.004253/15.05, allocations: 1.913 MB / 5.159 GB, free: 63.98 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/15.05, allocations: 73.62 kB / 5.159 GB, free: 63.91 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/15.05, allocations: 1.682 MB / 5.16 GB, free: 63.69 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002684/15.05, allocations: 70.02 kB / 5.161 GB, free: 63.66 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009421/15.05, allocations: 1.406 MB / 5.162 GB, free: 63.11 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006096/15.05, allocations: 0.6438 MB / 5.163 GB, free: 62.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.842e-05/15.05, allocations: 40.02 kB / 5.163 GB, free: 62.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001463/15.05, allocations: 388 kB / 5.163 GB, free: 62.39 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/15.05, allocations: 0.7454 MB / 5.164 GB, free: 62.39 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/15.05, allocations: 1.402 MB / 5.165 GB, free: 61.63 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/15.05, allocations: 1.023 MB / 5.166 GB, free: 61.58 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/15.05, allocations: 7.297 kB / 5.166 GB, free: 61.58 MB / 0.9323 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003694/15.06, allocations: 2.385 MB / 5.168 GB, free: 61.29 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001223/15.06, allocations: 5.496 MB / 5.174 GB, free: 55.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/15.06, allocations: 14.53 kB / 5.174 GB, free: 55.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.885e-05/15.06, allocations: 24.75 kB / 5.174 GB, free: 55.45 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/15.06, allocations: 0.5148 MB / 5.174 GB, free: 55.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/15.06, allocations: 4.163 MB / 5.178 GB, free: 51.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003853/15.07, allocations: 371.5 kB / 5.179 GB, free: 51.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/15.07, allocations: 91.59 kB / 5.179 GB, free: 51.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/15.07, allocations: 3.312 kB / 5.179 GB, free: 51.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003046/15.07, allocations: 2.121 MB / 5.181 GB, free: 51.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/15.07, allocations: 11.88 kB / 5.181 GB, free: 51.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/15.07, allocations: 32.2 kB / 5.181 GB, free: 51.07 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/15.07, allocations: 471 kB / 5.181 GB, free: 51.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.904e-05/15.07, allocations: 33.78 kB / 5.181 GB, free: 51.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/15.08, allocations: 350.8 kB / 5.182 GB, free: 50.95 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/15.08, allocations: 88.83 kB / 5.182 GB, free: 50.95 MB / 0.9323 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.0005746/15.08, allocations: 244.6 kB / 5.182 GB, free: 50.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005168/15.08, allocations: 268.1 kB / 5.182 GB, free: 50.67 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/15.08, allocations: 2.017 MB / 5.184 GB, free: 50.54 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/15.08, allocations: 18.69 kB / 5.184 GB, free: 50.54 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/15.08, allocations: 3.812 kB / 5.184 GB, free: 50.54 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002083/15.08, allocations: 1.804 MB / 5.186 GB, free: 50.23 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00818/15.09, allocations: 5.082 MB / 5.191 GB, free: 49.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/15.09, allocations: 3.688 kB / 5.191 GB, free: 49.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/15.09, allocations: 0.509 MB / 5.192 GB, free: 49.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/15.09, allocations: 11.12 kB / 5.192 GB, free: 49.66 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/15.09, allocations: 52.38 kB / 5.192 GB, free: 49.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/15.09, allocations: 4.126 MB / 5.196 GB, free: 45.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/15.09, allocations: 3.125 kB / 5.196 GB, free: 45.55 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004405/15.1, allocations: 3.46 MB / 5.199 GB, free: 43.89 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/15.1, allocations: 0.5847 MB / 5.2 GB, free: 43.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/15.1, allocations: 45.14 kB / 5.2 GB, free: 43.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/15.1, allocations: 267.7 kB / 5.2 GB, free: 43.45 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/15.1, allocations: 111.7 kB / 5.2 GB, free: 43.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/15.1, allocations: 78.11 kB / 5.2 GB, free: 43.41 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002019/15.11, allocations: 1.284 MB / 5.201 GB, free: 42.91 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/15.11, allocations: 0 / 5.201 GB, free: 42.91 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006522/15.11, allocations: 2.151 MB / 5.203 GB, free: 42.35 MB / 0.9323 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.01143/15.12, allocations: 9.445 MB / 5.213 GB, free: 37.04 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006538/15.13, allocations: 3.181 MB / 5.216 GB, free: 35.57 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/15.13, allocations: 0 / 5.216 GB, free: 35.57 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/15.13, allocations: 0.9694 MB / 5.217 GB, free: 34.68 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009062/15.14, allocations: 1.57 MB / 5.218 GB, free: 33.62 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/15.16, allocations: 6.373 MB / 5.224 GB, free: 28.12 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/15.16, allocations: 2.266 MB / 5.227 GB, free: 26.37 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005035/15.17, allocations: 1.331 MB / 5.228 GB, free: 25.49 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/15.17, allocations: 1.217 MB / 5.229 GB, free: 24.36 MB / 0.9323 GB Notification: Performance of SimCode: time 2.034e-06/15.17, allocations: 3.75 kB / 5.229 GB, free: 24.36 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.011/16.18, allocations: 151 MB / 5.377 GB, free: 97.84 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/16.18, allocations: 231 kB / 5.377 GB, free: 97.53 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/23.71, allocations: 0 / 5.377 GB, free: 97.53 MB / 0.9636 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)