Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.218/2.218, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.001501/0.001501, allocations: 175.5 kB / 315.4 MB, free: 4.012 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.98/1.98, allocations: 205.3 MB / 0.5662 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 98.39 kB / 0.6704 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.338e-05/2.335e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.206, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.049/7.255, allocations: 2.253 GB / 3.137 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/7.256, allocations: 86.77 kB / 3.138 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.79/18.04, allocations: 1.959 GB / 5.097 GB, free: 89.34 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.245e-06/18.04, allocations: 0 / 5.097 GB, free: 89.34 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004702/18.05, allocations: 98 kB / 5.097 GB, free: 89.32 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.0135/18.06, allocations: 3.482 MB / 5.1 GB, free: 87.92 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/18.06, allocations: 9.656 kB / 5.1 GB, free: 87.92 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009583/18.07, allocations: 0.9297 MB / 5.101 GB, free: 87.72 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/18.08, allocations: 2.861 MB / 5.104 GB, free: 87.14 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/18.08, allocations: 178 kB / 5.104 GB, free: 87.07 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/18.08, allocations: 176.8 kB / 5.105 GB, free: 87.07 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007841/18.09, allocations: 2.456 MB / 5.107 GB, free: 87.05 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009097/18.1, allocations: 2.763 MB / 5.11 GB, free: 86.81 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/18.1, allocations: 9.469 kB / 5.11 GB, free: 86.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004644/18.1, allocations: 3.938 kB / 5.11 GB, free: 86.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/18.1, allocations: 105.4 kB / 5.11 GB, free: 86.8 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.02446/18.12, allocations: 12.71 MB / 5.122 GB, free: 79.67 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/18.13, allocations: 1.665 MB / 5.124 GB, free: 79.62 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002134/18.13, allocations: 0.999 MB / 5.125 GB, free: 79.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007247/18.13, allocations: 323.6 kB / 5.125 GB, free: 79.32 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/18.13, allocations: 67.56 kB / 5.125 GB, free: 79.28 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=182): time 5.331e-06/18.13, allocations: 0 / 5.125 GB, free: 79.28 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.005762/18.14, allocations: 1.827 MB / 5.127 GB, free: 79.07 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/18.14, allocations: 76.52 kB / 5.127 GB, free: 79 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/18.14, allocations: 1.422 MB / 5.128 GB, free: 78.79 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005974/18.14, allocations: 32.7 kB / 5.128 GB, free: 78.76 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/18.14, allocations: 1.407 MB / 5.13 GB, free: 78.19 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001138/18.14, allocations: 0.6162 MB / 5.13 GB, free: 77.78 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/18.14, allocations: 0 / 5.13 GB, free: 77.78 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001609/18.14, allocations: 388.4 kB / 5.131 GB, free: 77.47 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/18.14, allocations: 0.7116 MB / 5.131 GB, free: 77.46 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/18.15, allocations: 1.344 MB / 5.133 GB, free: 76.73 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/18.15, allocations: 0.9759 MB / 5.134 GB, free: 76.71 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/18.15, allocations: 5.656 kB / 5.134 GB, free: 76.71 MB / 0.9323 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005857/18.16, allocations: 2.203 MB / 5.136 GB, free: 76.51 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001171/18.16, allocations: 5.468 MB / 5.141 GB, free: 70.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.287e-05/18.16, allocations: 12.97 kB / 5.141 GB, free: 70.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.097e-05/18.16, allocations: 26.44 kB / 5.141 GB, free: 70.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004969/18.16, allocations: 0.5195 MB / 5.142 GB, free: 70.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/18.16, allocations: 4.179 MB / 5.146 GB, free: 66.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005804/18.17, allocations: 320.6 kB / 5.146 GB, free: 66.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/18.17, allocations: 93.12 kB / 5.146 GB, free: 66.47 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/18.17, allocations: 6.375 kB / 5.146 GB, free: 66.47 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004768/18.18, allocations: 1.896 MB / 5.148 GB, free: 66.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/18.18, allocations: 16.16 kB / 5.148 GB, free: 66.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-05/18.18, allocations: 23.97 kB / 5.148 GB, free: 66.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/18.18, allocations: 477 kB / 5.149 GB, free: 66.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.635e-05/18.18, allocations: 30.78 kB / 5.149 GB, free: 66.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005489/18.18, allocations: 295.1 kB / 5.149 GB, free: 66.35 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004429/18.18, allocations: 89.14 kB / 5.149 GB, free: 66.35 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.0007304/18.19, allocations: 158.7 kB / 5.149 GB, free: 66.23 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004404/18.19, allocations: 1.739 MB / 5.151 GB, free: 66.03 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009164/18.19, allocations: 256.9 kB / 5.151 GB, free: 65.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004728/18.2, allocations: 1.872 MB / 5.153 GB, free: 65.79 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/18.2, allocations: 17.44 kB / 5.153 GB, free: 65.79 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/18.2, allocations: 0 / 5.153 GB, free: 65.79 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003305/18.2, allocations: 1.7 MB / 5.155 GB, free: 65.48 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/18.21, allocations: 4.64 MB / 5.159 GB, free: 64.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/18.21, allocations: 3.188 kB / 5.159 GB, free: 64.97 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004709/18.22, allocations: 0.5113 MB / 5.16 GB, free: 64.97 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.252e-05/18.22, allocations: 12.62 kB / 5.16 GB, free: 64.97 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002945/18.22, allocations: 34.59 kB / 5.16 GB, free: 64.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/18.22, allocations: 4.128 MB / 5.164 GB, free: 60.87 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/18.22, allocations: 7.656 kB / 5.164 GB, free: 60.87 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006613/18.23, allocations: 3.306 MB / 5.167 GB, free: 60.12 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/18.23, allocations: 0.5717 MB / 5.167 GB, free: 59.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007005/18.23, allocations: 12.36 kB / 5.167 GB, free: 59.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00463/18.23, allocations: 228.5 kB / 5.168 GB, free: 59.86 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003249/18.23, allocations: 117.7 kB / 5.168 GB, free: 59.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002245/18.23, allocations: 76.69 kB / 5.168 GB, free: 59.86 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002241/18.24, allocations: 1.057 MB / 5.169 GB, free: 59.71 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.81e-07/18.24, allocations: 0 / 5.169 GB, free: 59.71 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008007/18.24, allocations: 1.944 MB / 5.171 GB, free: 59.44 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.01676/18.26, allocations: 9.711 MB / 5.18 GB, free: 55.29 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008366/18.27, allocations: 3.022 MB / 5.183 GB, free: 55.23 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/18.27, allocations: 3.75 kB / 5.183 GB, free: 55.23 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002596/18.27, allocations: 0.9368 MB / 5.184 GB, free: 55.22 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0127/18.28, allocations: 1.441 MB / 5.186 GB, free: 55.18 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/18.3, allocations: 6.174 MB / 5.192 GB, free: 53.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002535/18.3, allocations: 2.256 MB / 5.194 GB, free: 52.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.008253/18.31, allocations: 1.257 MB / 5.195 GB, free: 52.76 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002788/18.32, allocations: 1.212 MB / 5.196 GB, free: 52.75 MB / 0.9323 GB Notification: Performance of SimCode: time 1.543e-06/18.32, allocations: 0 / 5.196 GB, free: 52.75 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2596/18.58, allocations: 104.8 MB / 5.299 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002934/18.58, allocations: 181 kB / 5.299 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/26.6, allocations: 4 kB / 5.299 GB, free: 15.47 MB / 0.9636 GB