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.449/1.449, allocations: 249.5 MB / 257 MB, free: 6.914 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.001075/0.001075, allocations: 164.9 kB / 316.3 MB, free: 3.262 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.553/1.553, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0009347/0.0009347, allocations: 90.02 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.183e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2213, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.631/5.852, allocations: 2.254 GB / 3.139 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/5.853, allocations: 87.95 kB / 3.139 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.535/13.39, allocations: 1.959 GB / 5.098 GB, free: 88.13 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.465e-06/13.39, allocations: 0 / 5.098 GB, free: 88.13 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003161/13.39, allocations: 94.3 kB / 5.098 GB, free: 88.12 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.01196/13.4, allocations: 3.49 MB / 5.102 GB, free: 86.84 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/13.4, allocations: 10.09 kB / 5.102 GB, free: 86.84 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007622/13.41, allocations: 0.9227 MB / 5.103 GB, free: 86.64 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009388/13.42, allocations: 2.87 MB / 5.106 GB, free: 86.11 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/13.42, allocations: 174.5 kB / 5.106 GB, free: 86.04 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/13.42, allocations: 180.1 kB / 5.106 GB, free: 86.04 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006419/13.43, allocations: 2.45 MB / 5.108 GB, free: 86.02 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008018/13.43, allocations: 2.773 MB / 5.111 GB, free: 85.78 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/13.43, allocations: 10.78 kB / 5.111 GB, free: 85.77 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006512/13.43, allocations: 3.938 kB / 5.111 GB, free: 85.77 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/13.43, allocations: 103.6 kB / 5.111 GB, free: 85.77 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.02265/13.46, allocations: 12.71 MB / 5.124 GB, free: 78.64 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/13.46, allocations: 1.662 MB / 5.125 GB, free: 78.61 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/13.46, allocations: 0.9944 MB / 5.126 GB, free: 78.59 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/13.46, allocations: 328.6 kB / 5.126 GB, free: 78.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8e-05/13.46, allocations: 62.42 kB / 5.127 GB, free: 78.26 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=182): time 5.922e-06/13.46, allocations: 0 / 5.127 GB, free: 78.26 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.005175/13.47, allocations: 1.826 MB / 5.128 GB, free: 78.06 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/13.47, allocations: 76.94 kB / 5.128 GB, free: 77.99 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/13.47, allocations: 1.434 MB / 5.13 GB, free: 77.78 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004229/13.47, allocations: 29.14 kB / 5.13 GB, free: 77.75 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009763/13.47, allocations: 1.402 MB / 5.131 GB, free: 77.18 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007491/13.47, allocations: 0.6158 MB / 5.132 GB, free: 76.76 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/13.47, allocations: 0 / 5.132 GB, free: 76.76 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001426/13.47, allocations: 391.1 kB / 5.132 GB, free: 76.46 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/13.48, allocations: 0.716 MB / 5.133 GB, free: 76.45 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/13.48, allocations: 1.341 MB / 5.134 GB, free: 75.72 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/13.48, allocations: 0.98 MB / 5.135 GB, free: 75.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/13.48, allocations: 2.781 kB / 5.135 GB, free: 75.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003761/13.48, allocations: 2.205 MB / 5.137 GB, free: 75.49 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001764/13.48, allocations: 5.467 MB / 5.143 GB, free: 69.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/13.48, allocations: 12.72 kB / 5.143 GB, free: 69.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.732e-05/13.48, allocations: 29.38 kB / 5.143 GB, free: 69.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/13.49, allocations: 0.5151 MB / 5.143 GB, free: 69.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/13.49, allocations: 4.173 MB / 5.147 GB, free: 65.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004179/13.49, allocations: 320.6 kB / 5.148 GB, free: 65.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/13.49, allocations: 89.33 kB / 5.148 GB, free: 65.46 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/13.49, allocations: 3.875 kB / 5.148 GB, free: 65.46 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00366/13.5, allocations: 1.901 MB / 5.149 GB, free: 65.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/13.5, allocations: 13.69 kB / 5.149 GB, free: 65.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.696e-05/13.5, allocations: 27.14 kB / 5.15 GB, free: 65.41 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/13.5, allocations: 474.3 kB / 5.15 GB, free: 65.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.603e-05/13.5, allocations: 36.81 kB / 5.15 GB, free: 65.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/13.5, allocations: 292.8 kB / 5.15 GB, free: 65.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/13.5, allocations: 92.78 kB / 5.15 GB, free: 65.34 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.0007718/13.5, allocations: 161.9 kB / 5.151 GB, free: 65.22 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003646/13.51, allocations: 1.727 MB / 5.152 GB, free: 65.02 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/13.51, allocations: 267.8 kB / 5.152 GB, free: 64.89 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/13.51, allocations: 1.86 MB / 5.154 GB, free: 64.77 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/13.51, allocations: 17.56 kB / 5.154 GB, free: 64.77 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/13.51, allocations: 0 / 5.154 GB, free: 64.77 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002217/13.51, allocations: 1.7 MB / 5.156 GB, free: 64.46 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/13.52, allocations: 4.64 MB / 5.16 GB, free: 63.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/13.52, allocations: 3.375 kB / 5.16 GB, free: 63.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/13.53, allocations: 0.5072 MB / 5.161 GB, free: 63.96 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.509e-05/13.53, allocations: 14.12 kB / 5.161 GB, free: 63.96 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/13.53, allocations: 34.11 kB / 5.161 GB, free: 63.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/13.53, allocations: 4.135 MB / 5.165 GB, free: 59.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/13.53, allocations: 4.312 kB / 5.165 GB, free: 59.86 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004635/13.53, allocations: 3.313 MB / 5.168 GB, free: 59.11 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/13.53, allocations: 0.5639 MB / 5.169 GB, free: 58.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008592/13.54, allocations: 14.56 kB / 5.169 GB, free: 58.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003381/13.54, allocations: 233.8 kB / 5.169 GB, free: 58.85 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/13.54, allocations: 119.6 kB / 5.169 GB, free: 58.84 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/13.54, allocations: 75.39 kB / 5.169 GB, free: 58.84 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002611/13.54, allocations: 1.059 MB / 5.17 GB, free: 58.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.61e-07/13.54, allocations: 1.531 kB / 5.17 GB, free: 58.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.009406/13.55, allocations: 1.939 MB / 5.172 GB, free: 58.42 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.01483/13.57, allocations: 9.721 MB / 5.182 GB, free: 54.27 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007102/13.57, allocations: 3.025 MB / 5.185 GB, free: 54.21 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/13.57, allocations: 2.094 kB / 5.185 GB, free: 54.21 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/13.58, allocations: 0.9353 MB / 5.186 GB, free: 54.21 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008979/13.58, allocations: 1.433 MB / 5.187 GB, free: 54.18 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/13.6, allocations: 6.18 MB / 5.193 GB, free: 52.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002854/13.6, allocations: 2.26 MB / 5.195 GB, free: 52.04 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006123/13.61, allocations: 1.248 MB / 5.196 GB, free: 52.02 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/13.61, allocations: 1.218 MB / 5.198 GB, free: 52.01 MB / 0.9323 GB Notification: Performance of SimCode: time 8.21e-07/13.61, allocations: 2.625 kB / 5.198 GB, free: 52.01 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1863/13.8, allocations: 104.8 MB / 5.3 GB, free: 8.977 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/13.8, allocations: 182.4 kB / 5.3 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.905/19.7, allocations: 0 / 5.3 GB, free: 8.789 MB / 0.9323 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)