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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001206/0.001205, allocations: 192.8 kB / 366.7 MB, free: 1.629 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.88/1.88, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.001069/0.00107, allocations: 95.28 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.976e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/0.7622, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.882/6.644, allocations: 2.135 GB / 3.109 GB, free: 346.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/6.645, allocations: 87.27 kB / 3.109 GB, free: 346.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.011/14.66, allocations: 2.014 GB / 5.123 GB, free: 92.15 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.305e-06/14.66, allocations: 0 / 5.123 GB, free: 92.15 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0005545/14.66, allocations: 101.2 kB / 5.123 GB, free: 92.13 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.01718/14.67, allocations: 3.458 MB / 5.126 GB, free: 90.75 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 7.112e-05/14.67, allocations: 11.28 kB / 5.126 GB, free: 90.75 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/14.68, allocations: 0.9247 MB / 5.127 GB, free: 90.55 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/14.7, allocations: 2.846 MB / 5.13 GB, free: 89.96 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003857/14.7, allocations: 174.7 kB / 5.13 GB, free: 89.89 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/14.7, allocations: 180.3 kB / 5.13 GB, free: 89.89 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00865/14.71, allocations: 2.427 MB / 5.133 GB, free: 89.88 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009051/14.72, allocations: 2.742 MB / 5.135 GB, free: 89.63 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.096e-05/14.72, allocations: 3.969 kB / 5.135 GB, free: 89.63 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000371/14.72, allocations: 0 / 5.135 GB, free: 89.63 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/14.72, allocations: 107.2 kB / 5.135 GB, free: 89.62 MB / 1.01 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.02466/14.74, allocations: 12.67 MB / 5.148 GB, free: 82.51 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/14.74, allocations: 1.687 MB / 5.149 GB, free: 82.47 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/14.75, allocations: 1.004 MB / 5.15 GB, free: 82.46 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006381/14.75, allocations: 328.7 kB / 5.151 GB, free: 82.18 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.634e-05/14.75, allocations: 61.53 kB / 5.151 GB, free: 82.14 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 5.971e-06/14.75, allocations: 2.188 kB / 5.151 GB, free: 82.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.005608/14.75, allocations: 1.853 MB / 5.153 GB, free: 81.92 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/14.75, allocations: 73.66 kB / 5.153 GB, free: 81.86 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/14.76, allocations: 1.413 MB / 5.154 GB, free: 81.64 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000546/14.76, allocations: 31.02 kB / 5.154 GB, free: 81.61 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001316/14.76, allocations: 1.397 MB / 5.155 GB, free: 81.05 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/14.76, allocations: 0.621 MB / 5.156 GB, free: 80.63 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/14.76, allocations: 0 / 5.156 GB, free: 80.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001868/14.76, allocations: 384.5 kB / 5.156 GB, free: 80.32 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/14.76, allocations: 0.7245 MB / 5.157 GB, free: 80.32 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/14.76, allocations: 1.384 MB / 5.158 GB, free: 79.55 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/14.77, allocations: 0.9937 MB / 5.159 GB, free: 79.51 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/14.77, allocations: 3.688 kB / 5.159 GB, free: 79.51 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005326/14.77, allocations: 2.223 MB / 5.162 GB, free: 79.31 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001457/14.77, allocations: 5.472 MB / 5.167 GB, free: 73.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.065e-05/14.77, allocations: 13.16 kB / 5.167 GB, free: 73.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.25e-05/14.77, allocations: 25.72 kB / 5.167 GB, free: 73.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003921/14.78, allocations: 0.5195 MB / 5.167 GB, free: 73.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/14.78, allocations: 4.185 MB / 5.172 GB, free: 69.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006983/14.79, allocations: 314 kB / 5.172 GB, free: 69.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009584/14.79, allocations: 88.77 kB / 5.172 GB, free: 69.28 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/14.79, allocations: 3.969 kB / 5.172 GB, free: 69.28 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004993/14.79, allocations: 1.914 MB / 5.174 GB, free: 69.23 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/14.79, allocations: 17.97 kB / 5.174 GB, free: 69.23 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.181e-05/14.79, allocations: 22.62 kB / 5.174 GB, free: 69.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/14.8, allocations: 480.5 kB / 5.174 GB, free: 69.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.023e-05/14.8, allocations: 28.88 kB / 5.174 GB, free: 69.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005123/14.8, allocations: 290.9 kB / 5.175 GB, free: 69.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003543/14.8, allocations: 83.11 kB / 5.175 GB, free: 69.16 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 () * 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.0008615/14.8, allocations: 172.8 kB / 5.175 GB, free: 69.02 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004686/14.81, allocations: 1.744 MB / 5.177 GB, free: 68.81 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009982/14.81, allocations: 250.7 kB / 5.177 GB, free: 68.69 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004713/14.81, allocations: 1.894 MB / 5.179 GB, free: 68.57 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/14.81, allocations: 16.06 kB / 5.179 GB, free: 68.57 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/14.81, allocations: 7.078 kB / 5.179 GB, free: 68.56 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003255/14.82, allocations: 1.71 MB / 5.18 GB, free: 68.26 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/14.83, allocations: 4.642 MB / 5.185 GB, free: 67.74 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/14.83, allocations: 7.656 kB / 5.185 GB, free: 67.74 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/14.83, allocations: 0.5039 MB / 5.185 GB, free: 67.72 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.553e-05/14.83, allocations: 7.156 kB / 5.185 GB, free: 67.72 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/14.83, allocations: 26.25 kB / 5.185 GB, free: 67.72 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/14.83, allocations: 4.131 MB / 5.189 GB, free: 63.61 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/14.83, allocations: 3.688 kB / 5.189 GB, free: 63.61 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006867/14.84, allocations: 3.344 MB / 5.193 GB, free: 62.87 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002756/14.84, allocations: 0.5546 MB / 5.193 GB, free: 62.62 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008458/14.84, allocations: 13.16 kB / 5.193 GB, free: 62.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00403/14.85, allocations: 218.5 kB / 5.193 GB, free: 62.61 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/14.85, allocations: 118.2 kB / 5.194 GB, free: 62.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/14.85, allocations: 71.23 kB / 5.194 GB, free: 62.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002493/14.85, allocations: 1.052 MB / 5.195 GB, free: 62.45 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.71e-07/14.85, allocations: 0 / 5.195 GB, free: 62.45 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0102/14.86, allocations: 1.926 MB / 5.197 GB, free: 62.18 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 () * 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.01752/14.88, allocations: 9.738 MB / 5.206 GB, free: 58 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008745/14.89, allocations: 3.061 MB / 5.209 GB, free: 57.85 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/14.89, allocations: 3.938 kB / 5.209 GB, free: 57.84 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002235/14.89, allocations: 0.938 MB / 5.21 GB, free: 57.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01205/14.9, allocations: 1.453 MB / 5.211 GB, free: 57.76 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02015/14.92, allocations: 6.142 MB / 5.217 GB, free: 56.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002653/14.92, allocations: 2.246 MB / 5.22 GB, free: 55.41 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.008545/14.93, allocations: 1.262 MB / 5.221 GB, free: 55.27 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003204/14.94, allocations: 1.211 MB / 5.222 GB, free: 55.26 MB / 1.01 GB Notification: Performance of SimCode: time 1.573e-06/14.94, allocations: 0 / 5.222 GB, free: 55.26 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2376/15.17, allocations: 104.6 MB / 5.324 GB, free: 13.14 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003072/15.17, allocations: 176.7 kB / 5.324 GB, free: 12.94 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/21.84, allocations: 0 / 5.324 GB, free: 12.94 MB / 1.042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)