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.847/1.847, allocations: 292.6 MB / 307.5 MB, free: 5.129 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.001924/0.001924, allocations: 185 kB / 377.1 MB, free: 1.449 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.4 MB / 0.6366 GB, free: 8.598 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.0009507/0.0009507, allocations: 99.58 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004855, allocations: 8 kB / 0.8749 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.301, allocations: 116.3 MB / 0.9884 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.033/5.334, allocations: 2.136 GB / 3.125 GB, free: 82.62 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/5.334, allocations: 91.95 kB / 3.125 GB, free: 82.54 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.971/14.31, allocations: 2.038 GB / 5.163 GB, free: 86.26 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.895e-06/14.31, allocations: 1.438 kB / 5.163 GB, free: 86.26 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0007717/14.31, allocations: 97.44 kB / 5.163 GB, free: 86.25 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.01927/14.33, allocations: 3.954 MB / 5.167 GB, free: 84.79 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/14.33, allocations: 11.09 kB / 5.167 GB, free: 84.79 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002704/14.33, allocations: 388.7 kB / 5.167 GB, free: 84.74 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009174/14.34, allocations: 0.9273 MB / 5.168 GB, free: 84.54 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/14.35, allocations: 2.865 MB / 5.171 GB, free: 84.08 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006719/14.35, allocations: 285 kB / 5.171 GB, free: 84.01 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/14.35, allocations: 299 kB / 5.171 GB, free: 84 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/14.37, allocations: 3.193 MB / 5.174 GB, free: 83.75 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002482/14.37, allocations: 5.75 kB / 5.174 GB, free: 83.75 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/14.37, allocations: 119.9 kB / 5.174 GB, free: 83.75 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/14.37, allocations: 108.9 kB / 5.175 GB, free: 83.74 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007472/14.38, allocations: 2.635 MB / 5.177 GB, free: 83.71 MB / 1.01 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.02085/14.4, allocations: 13.17 MB / 5.19 GB, free: 76.51 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/14.4, allocations: 1.789 MB / 5.192 GB, free: 76.47 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/14.4, allocations: 332.1 kB / 5.192 GB, free: 76.19 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/14.4, allocations: 54.56 kB / 5.192 GB, free: 76.15 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 4.739e-06/14.4, allocations: 0 / 5.192 GB, free: 76.15 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.005213/14.4, allocations: 2.674 MB / 5.195 GB, free: 75.93 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/14.4, allocations: 78.78 kB / 5.195 GB, free: 75.86 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/14.41, allocations: 1.692 MB / 5.196 GB, free: 75.65 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003792/14.41, allocations: 71.52 kB / 5.196 GB, free: 75.62 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001208/14.41, allocations: 1.408 MB / 5.198 GB, free: 75.08 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008333/14.41, allocations: 0.6426 MB / 5.198 GB, free: 74.66 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/14.41, allocations: 37.06 kB / 5.199 GB, free: 74.66 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001779/14.41, allocations: 387.2 kB / 5.199 GB, free: 74.36 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/14.41, allocations: 0.775 MB / 5.2 GB, free: 74.35 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/14.41, allocations: 1.459 MB / 5.201 GB, free: 73.58 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/14.42, allocations: 1.046 MB / 5.202 GB, free: 73.55 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/14.42, allocations: 8.188 kB / 5.202 GB, free: 73.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004084/14.42, allocations: 2.447 MB / 5.204 GB, free: 73.34 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001204/14.42, allocations: 5.525 MB / 5.21 GB, free: 67.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/14.42, allocations: 14.38 kB / 5.21 GB, free: 67.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-05/14.42, allocations: 28.09 kB / 5.21 GB, free: 67.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/14.42, allocations: 0.5103 MB / 5.21 GB, free: 67.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/14.42, allocations: 4.162 MB / 5.214 GB, free: 63.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/14.43, allocations: 366.9 kB / 5.215 GB, free: 63.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/14.43, allocations: 91.05 kB / 5.215 GB, free: 63.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/14.43, allocations: 3.938 kB / 5.215 GB, free: 63.3 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00323/14.43, allocations: 2.184 MB / 5.217 GB, free: 63.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/14.43, allocations: 12.56 kB / 5.217 GB, free: 63.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/14.43, allocations: 25.06 kB / 5.217 GB, free: 63.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/14.43, allocations: 473.6 kB / 5.218 GB, free: 63.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/14.43, allocations: 33 kB / 5.218 GB, free: 63.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004101/14.44, allocations: 352.9 kB / 5.218 GB, free: 63.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/14.44, allocations: 86.75 kB / 5.218 GB, free: 63.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 () * 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.002321/14.44, allocations: 0.8653 MB / 5.219 GB, free: 62.96 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007719/14.44, allocations: 264.7 kB / 5.219 GB, free: 62.83 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/14.45, allocations: 2.071 MB / 5.221 GB, free: 62.71 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/14.45, allocations: 22.61 kB / 5.221 GB, free: 62.71 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/14.45, allocations: 3.891 kB / 5.221 GB, free: 62.71 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002456/14.45, allocations: 1.86 MB / 5.223 GB, free: 62.41 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/14.46, allocations: 5.118 MB / 5.228 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/14.46, allocations: 3.875 kB / 5.228 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002436/14.46, allocations: 0.5097 MB / 5.228 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.261e-05/14.46, allocations: 10.22 kB / 5.228 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/14.46, allocations: 50.22 kB / 5.229 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/14.46, allocations: 4.121 MB / 5.233 GB, free: 57.79 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/14.46, allocations: 6.562 kB / 5.233 GB, free: 57.79 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005386/14.47, allocations: 3.561 MB / 5.236 GB, free: 57.03 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/14.47, allocations: 0.5604 MB / 5.237 GB, free: 56.78 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/14.47, allocations: 47.06 kB / 5.237 GB, free: 56.78 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/14.47, allocations: 260.3 kB / 5.237 GB, free: 56.75 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/14.47, allocations: 110 kB / 5.237 GB, free: 56.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/14.47, allocations: 73.55 kB / 5.237 GB, free: 56.75 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002125/14.48, allocations: 1.296 MB / 5.238 GB, free: 56.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.51e-07/14.48, allocations: 5.781 kB / 5.238 GB, free: 56.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00712/14.48, allocations: 2.134 MB / 5.24 GB, free: 56.36 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 () * 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.01209/14.5, allocations: 9.503 MB / 5.25 GB, free: 52.18 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006176/14.5, allocations: 3.197 MB / 5.253 GB, free: 52.13 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/14.5, allocations: 0 / 5.253 GB, free: 52.13 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/14.5, allocations: 1.007 MB / 5.254 GB, free: 52.12 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008572/14.51, allocations: 1.567 MB / 5.255 GB, free: 52.08 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/14.53, allocations: 19.25 MB / 5.274 GB, free: 54.09 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/14.54, allocations: 2.247 MB / 5.276 GB, free: 53.33 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.004684/14.54, allocations: 1.089 MB / 5.277 GB, free: 53.3 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/14.54, allocations: 1.249 MB / 5.279 GB, free: 53.29 MB / 1.026 GB Notification: Performance of SimCode: time 6.31e-07/14.54, allocations: 0 / 5.279 GB, free: 53.29 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2869/14.83, allocations: 135.6 MB / 5.411 GB, free: 6.355 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/14.83, allocations: 249 kB / 5.411 GB, free: 6.02 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/21.53, allocations: 2.516 kB / 5.411 GB, free: 6.02 MB / 1.026 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)