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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009431/0.0009432, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 222.1 MB, free: 5.355 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.932/1.932, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005276/0.0005276, allocations: 20.95 kB / 0.6738 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2454, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.9529/1.198, allocations: 278.7 MB / 1.06 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03916/1.238, allocations: 23.97 MB / 1.083 GB, free: 13.11 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006521/1.244, allocations: 95.31 kB / 1.083 GB, free: 13.02 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006334/1.251, allocations: 1.2 MB / 1.084 GB, free: 11.81 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0194/1.27, allocations: 4.36 MB / 1.089 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.007891/1.278, allocations: 1.943 MB / 1.09 GB, free: 5.508 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01673/1.295, allocations: 10.4 MB / 1.101 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006053/1.301, allocations: 2.528 MB / 1.103 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/1.311, allocations: 3.186 MB / 1.106 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007181/1.319, allocations: 2.83 MB / 1.109 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001455/1.32, allocations: 152 kB / 1.109 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/1.331, allocations: 2.405 MB / 1.111 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003498/1.334, allocations: 1.43 MB / 1.113 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003211/1.337, allocations: 0.7616 MB / 1.114 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009288/1.347, allocations: 4.727 MB / 1.118 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.347, allocations: 0 / 1.118 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.735e-06/1.347, allocations: 4 kB / 1.118 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002114/1.347, allocations: 0 / 1.118 GB, free: 8.977 MB / 0.8262 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.00812/1.355, allocations: 3.471 MB / 1.122 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/1.355, allocations: 8.031 kB / 1.122 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001148/1.356, allocations: 391.7 kB / 1.122 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/1.362, allocations: 0.9399 MB / 1.123 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005726/1.368, allocations: 2.359 MB / 1.125 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/1.368, allocations: 285.4 kB / 1.125 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004647/1.369, allocations: 295.9 kB / 1.126 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005898/1.375, allocations: 3.339 MB / 1.129 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.686e-05/1.375, allocations: 7.984 kB / 1.129 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/1.375, allocations: 112 kB / 1.129 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/1.375, allocations: 113.3 kB / 1.129 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004978/1.38, allocations: 2.792 MB / 1.132 GB, free: 10.62 MB / 0.8419 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.02215/1.402, allocations: 13.25 MB / 1.145 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/1.405, allocations: 1.863 MB / 1.147 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/1.407, allocations: 1.118 MB / 1.148 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006153/1.408, allocations: 325.2 kB / 1.148 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.385e-05/1.408, allocations: 64.52 kB / 1.148 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=186): time 4.549e-06/1.408, allocations: 0 / 1.148 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=186): time 0.006181/1.414, allocations: 2.766 MB / 1.151 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/1.414, allocations: 73.41 kB / 1.151 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004141/1.418, allocations: 1.953 MB / 1.153 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003332/1.419, allocations: 69.7 kB / 1.153 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/1.42, allocations: 1.391 MB / 1.154 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000852/1.421, allocations: 0.6623 MB / 1.155 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/1.421, allocations: 43.94 kB / 1.155 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002276/1.421, allocations: 393.9 kB / 1.155 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/1.423, allocations: 0.7965 MB / 1.156 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/1.425, allocations: 1.462 MB / 1.158 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/1.427, allocations: 1.056 MB / 1.159 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.019e-05/1.427, allocations: 4 kB / 1.159 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004825/1.432, allocations: 2.502 MB / 1.161 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003907/1.432, allocations: 470.4 kB / 1.161 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/1.432, allocations: 12 kB / 1.161 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-05/1.432, allocations: 24 kB / 1.161 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/1.435, allocations: 0.5655 MB / 1.162 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/1.437, allocations: 4.157 MB / 1.166 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/1.441, allocations: 384.7 kB / 1.166 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000397/1.441, allocations: 87.98 kB / 1.167 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.441, allocations: 4 kB / 1.167 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004708/1.446, allocations: 2.222 MB / 1.169 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/1.446, allocations: 12 kB / 1.169 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/1.446, allocations: 28 kB / 1.169 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/1.448, allocations: 479.3 kB / 1.169 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.341e-05/1.448, allocations: 31.92 kB / 1.169 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.452, allocations: 349.5 kB / 1.17 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/1.452, allocations: 91.98 kB / 1.17 GB, free: 2.016 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * 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.002241/1.454, allocations: 0.8634 MB / 1.171 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/1.455, allocations: 272.8 kB / 1.171 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004502/1.46, allocations: 2.142 MB / 1.173 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/1.46, allocations: 16 kB / 1.173 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/1.46, allocations: 4 kB / 1.173 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003002/1.463, allocations: 1.91 MB / 1.175 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/1.474, allocations: 5.2 MB / 1.18 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/1.474, allocations: 4 kB / 1.18 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/1.477, allocations: 0.5192 MB / 1.18 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-05/1.477, allocations: 12 kB / 1.18 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/1.477, allocations: 55.92 kB / 1.18 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/1.479, allocations: 4.122 MB / 1.184 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.479, allocations: 4 kB / 1.184 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/1.485, allocations: 3.422 MB / 1.188 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/1.487, allocations: 0.5715 MB / 1.188 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006901/1.487, allocations: 44 kB / 1.188 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002714/1.49, allocations: 243.4 kB / 1.189 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/1.49, allocations: 125.9 kB / 1.189 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.49, allocations: 71.97 kB / 1.189 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002727/1.493, allocations: 1.298 MB / 1.19 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.41e-07/1.493, allocations: 0 / 1.19 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.006512/1.5, allocations: 1.722 MB / 1.192 GB, free: 10.98 MB / 0.9044 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 (186): * Single equations (assignments): 179 * 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.007309/1.507, allocations: 4.258 MB / 1.196 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007068/1.514, allocations: 3.342 MB / 1.199 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/1.514, allocations: 4 kB / 1.199 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/1.516, allocations: 1.047 MB / 1.2 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009626/1.526, allocations: 1.601 MB / 1.202 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04145/1.568, allocations: 19.14 MB / 1.22 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003296/1.571, allocations: 2.182 MB / 1.223 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.005666/1.577, allocations: 1.111 MB / 1.224 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002583/1.579, allocations: 1.261 MB / 1.225 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of SimCode: time 1.462e-06/1.579, allocations: 0 / 1.225 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6635/2.243, allocations: 78.05 MB / 1.301 GB, free: 368.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/2.243, allocations: 263.2 kB / 1.301 GB, free: 368.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.356/6.599, allocations: 0 / 1.301 GB, free: 368.1 MB / 0.9825 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) Environment - environmentSimulation: