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.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 179.9 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.001004/0.001004, allocations: 88.05 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 11.5 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2694, allocations: 106.3 MB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.072/5.342, allocations: 2.253 GB / 3.153 GB, free: 329.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/5.342, allocations: 93.72 kB / 3.154 GB, free: 329.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.374/11.72, allocations: 1.984 GB / 5.137 GB, free: 47.89 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.583e-06/11.72, allocations: 0 / 5.137 GB, free: 47.89 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000427/11.72, allocations: 95.97 kB / 5.137 GB, free: 47.79 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.01322/11.73, allocations: 3.976 MB / 5.141 GB, free: 43.75 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 9.349e-05/11.73, allocations: 12.03 kB / 5.141 GB, free: 43.74 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001882/11.73, allocations: 391.9 kB / 5.141 GB, free: 43.35 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008242/11.74, allocations: 0.9351 MB / 5.142 GB, free: 42.41 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009804/11.75, allocations: 2.875 MB / 5.145 GB, free: 39.47 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/11.75, allocations: 285.5 kB / 5.145 GB, free: 39.18 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/11.75, allocations: 299.9 kB / 5.146 GB, free: 38.88 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008188/11.76, allocations: 3.232 MB / 5.149 GB, free: 35.57 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/11.76, allocations: 4 kB / 5.149 GB, free: 35.56 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006721/11.76, allocations: 112 kB / 5.149 GB, free: 35.45 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/11.76, allocations: 113.4 kB / 5.149 GB, free: 35.34 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005025/11.77, allocations: 2.656 MB / 5.152 GB, free: 32.67 MB / 0.9323 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.01609/11.78, allocations: 13.23 MB / 5.165 GB, free: 18.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/11.78, allocations: 1.769 MB / 5.166 GB, free: 16.54 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004293/11.78, allocations: 329.2 kB / 5.167 GB, free: 16.16 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/11.78, allocations: 56.56 kB / 5.167 GB, free: 16.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=182): time 3.457e-06/11.78, allocations: 4 kB / 5.167 GB, free: 16.09 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.004342/11.79, allocations: 2.649 MB / 5.169 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/11.79, allocations: 77.41 kB / 5.169 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/11.79, allocations: 1.707 MB / 5.171 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/11.79, allocations: 73.7 kB / 5.171 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/11.79, allocations: 1.403 MB / 5.173 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000517/11.79, allocations: 0.6431 MB / 5.173 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/11.79, allocations: 40 kB / 5.173 GB, free: 9.441 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001037/11.79, allocations: 389.8 kB / 5.174 GB, free: 9.055 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/11.79, allocations: 0.7691 MB / 5.174 GB, free: 8.281 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/11.79, allocations: 1.421 MB / 5.176 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/11.8, allocations: 1.032 MB / 5.177 GB, free: 5.547 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/11.8, allocations: 4 kB / 5.177 GB, free: 5.543 MB / 0.9323 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00349/11.8, allocations: 2.432 MB / 5.179 GB, free: 3.102 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001645/11.8, allocations: 5.506 MB / 5.184 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/11.8, allocations: 12 kB / 5.184 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.239e-05/11.8, allocations: 27.95 kB / 5.184 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/11.8, allocations: 0.5065 MB / 5.185 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/11.81, allocations: 4.157 MB / 5.189 GB, free: 8.211 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004012/11.81, allocations: 370 kB / 5.189 GB, free: 7.848 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/11.81, allocations: 87.98 kB / 5.189 GB, free: 7.762 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/11.81, allocations: 8 kB / 5.189 GB, free: 7.754 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003604/11.81, allocations: 2.167 MB / 5.192 GB, free: 5.586 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/11.81, allocations: 12 kB / 5.192 GB, free: 5.574 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/11.81, allocations: 31.88 kB / 5.192 GB, free: 5.543 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/11.82, allocations: 476.2 kB / 5.192 GB, free: 5.078 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.317e-05/11.82, allocations: 35.88 kB / 5.192 GB, free: 5.043 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/11.82, allocations: 358 kB / 5.192 GB, free: 4.691 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/11.82, allocations: 87.98 kB / 5.193 GB, free: 4.605 MB / 0.948 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.002296/11.82, allocations: 0.8679 MB / 5.193 GB, free: 3.727 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009861/11.82, allocations: 272.6 kB / 5.194 GB, free: 3.461 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/11.83, allocations: 2.064 MB / 5.196 GB, free: 1.383 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/11.83, allocations: 16 kB / 5.196 GB, free: 1.367 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/11.83, allocations: 3.953 kB / 5.196 GB, free: 1.363 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002693/11.83, allocations: 1.832 MB / 5.197 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/11.84, allocations: 5.127 MB / 5.202 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/11.84, allocations: 7.75 kB / 5.203 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/11.84, allocations: 0.5073 MB / 5.203 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.038e-05/11.84, allocations: 8 kB / 5.203 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/11.85, allocations: 51.97 kB / 5.203 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/11.85, allocations: 4.126 MB / 5.207 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/11.85, allocations: 3.938 kB / 5.207 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/11.85, allocations: 3.524 MB / 5.211 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002383/11.86, allocations: 0.5833 MB / 5.211 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009183/11.86, allocations: 44 kB / 5.211 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003169/11.86, allocations: 267.3 kB / 5.211 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/11.86, allocations: 121.7 kB / 5.212 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/11.86, allocations: 71.95 kB / 5.212 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.627/12.49, allocations: 1.307 MB / 5.213 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.41e-07/12.49, allocations: 0.9688 kB / 5.213 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007236/12.49, allocations: 2.155 MB / 5.215 GB, free: 107.3 MB / 0.9636 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.01371/12.51, allocations: 9.458 MB / 5.224 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007122/12.51, allocations: 3.168 MB / 5.227 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/12.52, allocations: 2.531 kB / 5.227 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/12.52, allocations: 0.9908 MB / 5.228 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008633/12.53, allocations: 1.575 MB / 5.23 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/12.54, allocations: 19.28 MB / 5.249 GB, free: 89.37 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/12.55, allocations: 2.256 MB / 5.251 GB, free: 88.61 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004449/12.55, allocations: 1.087 MB / 5.252 GB, free: 88.58 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/12.55, allocations: 1.252 MB / 5.253 GB, free: 88.57 MB / 0.9636 GB Notification: Performance of SimCode: time 1.052e-06/12.55, allocations: 1.969 kB / 5.253 GB, free: 88.57 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2029/12.76, allocations: 135.8 MB / 5.386 GB, free: 83.23 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/12.76, allocations: 264.4 kB / 5.386 GB, free: 82.87 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/19.45, allocations: 0 / 5.386 GB, free: 82.87 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)