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.001134/0.001134, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001421/0.001421, allocations: 177.3 kB / 15.95 MB, free: 216 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.773/1.773, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.87/1.87, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0005398/0.0005398, allocations: 14.56 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2737, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.9218/1.196, allocations: 247.2 MB / 1.029 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03667/1.232, allocations: 23.7 MB / 1.052 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006531/1.239, allocations: 92.88 kB / 1.052 GB, free: 8.328 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.007699/1.247, allocations: 1.721 MB / 1.054 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02203/1.269, allocations: 5.754 MB / 1.059 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01027/1.279, allocations: 2.698 MB / 1.062 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01354/1.293, allocations: 5.094 MB / 1.067 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006438/1.299, allocations: 2.566 MB / 1.069 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008754/1.308, allocations: 2.605 MB / 1.072 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006232/1.314, allocations: 1.903 MB / 1.074 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002398/1.317, allocations: 152 kB / 1.074 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009244/1.326, allocations: 2.091 MB / 1.076 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003208/1.329, allocations: 1.305 MB / 1.077 GB, free: 15.23 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003005/1.332, allocations: 0.7616 MB / 1.078 GB, free: 14.46 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009909/1.342, allocations: 4.501 MB / 1.082 GB, free: 9.945 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/1.342, allocations: 4 kB / 1.082 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.506e-06/1.342, allocations: 0 / 1.082 GB, free: 9.941 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003403/1.343, allocations: 0 / 1.082 GB, free: 9.941 MB / 0.795 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.01756/1.36, allocations: 3.394 MB / 1.086 GB, free: 6.48 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 9.076e-05/1.36, allocations: 12.03 kB / 1.086 GB, free: 6.469 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002623/1.363, allocations: 404.5 kB / 1.086 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007903/1.371, allocations: 0.9361 MB / 1.087 GB, free: 5.125 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00905/1.38, allocations: 2.203 MB / 1.089 GB, free: 2.844 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004773/1.38, allocations: 277.4 kB / 1.089 GB, free: 2.559 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/1.382, allocations: 303.9 kB / 1.09 GB, free: 2.262 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/1.395, allocations: 3.328 MB / 1.093 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/1.395, allocations: 0 / 1.093 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/1.396, allocations: 116 kB / 1.093 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/1.396, allocations: 109.3 kB / 1.093 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007309/1.404, allocations: 2.788 MB / 1.096 GB, free: 11.82 MB / 0.8106 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.02237/1.426, allocations: 13.24 MB / 1.109 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/1.429, allocations: 1.859 MB / 1.111 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/1.429, allocations: 65.91 kB / 1.111 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/1.429, allocations: 60.5 kB / 1.111 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=186): time 3.767e-06/1.429, allocations: 0 / 1.111 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=186): time 0.005667/1.435, allocations: 2.77 MB / 1.113 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/1.435, allocations: 73.41 kB / 1.113 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/1.438, allocations: 1.957 MB / 1.115 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003175/1.438, allocations: 69.64 kB / 1.115 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/1.439, allocations: 1.406 MB / 1.117 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007803/1.44, allocations: 0.6546 MB / 1.117 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/1.44, allocations: 40 kB / 1.117 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.441, allocations: 386 kB / 1.118 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/1.442, allocations: 0.8005 MB / 1.119 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/1.444, allocations: 1.451 MB / 1.12 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/1.446, allocations: 1.06 MB / 1.121 GB, free: 408 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.446, allocations: 4 kB / 1.121 GB, free: 404 kB / 0.8262 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004385/1.45, allocations: 2.494 MB / 1.124 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.002281/1.452, allocations: 5.239 MB / 1.129 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/1.452, allocations: 12 kB / 1.129 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.342e-05/1.452, allocations: 24 kB / 1.129 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/1.455, allocations: 0.5694 MB / 1.129 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/1.457, allocations: 4.157 MB / 1.133 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/1.461, allocations: 371.3 kB / 1.134 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/1.462, allocations: 99.95 kB / 1.134 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.462, allocations: 4 kB / 1.134 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003754/1.466, allocations: 2.226 MB / 1.136 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/1.466, allocations: 12 kB / 1.136 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/1.466, allocations: 24 kB / 1.136 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/1.467, allocations: 479.3 kB / 1.136 GB, free: 44 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-05/1.467, allocations: 32.34 kB / 1.136 GB, free: 12 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/1.471, allocations: 365.1 kB / 1.137 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/1.471, allocations: 83.98 kB / 1.137 GB, free: 15.57 MB / 0.8575 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.001985/1.473, allocations: 0.8635 MB / 1.138 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007816/1.474, allocations: 272.8 kB / 1.138 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/1.478, allocations: 2.138 MB / 1.14 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/1.478, allocations: 16 kB / 1.14 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.478, allocations: 7.953 kB / 1.14 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002546/1.48, allocations: 1.906 MB / 1.142 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/1.492, allocations: 5.208 MB / 1.147 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.492, allocations: 8.062 kB / 1.147 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/1.494, allocations: 0.5033 MB / 1.148 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.977e-05/1.494, allocations: 8 kB / 1.148 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/1.494, allocations: 55.97 kB / 1.148 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/1.497, allocations: 4.13 MB / 1.152 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.497, allocations: 4 kB / 1.152 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005358/1.502, allocations: 3.648 MB / 1.155 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/1.504, allocations: 0.5715 MB / 1.156 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004719/1.505, allocations: 44 kB / 1.156 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/1.507, allocations: 251.3 kB / 1.156 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/1.507, allocations: 117.8 kB / 1.156 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.507, allocations: 71.92 kB / 1.156 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002184/1.51, allocations: 1.298 MB / 1.157 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/1.51, allocations: 0 / 1.157 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004952/1.515, allocations: 1.73 MB / 1.159 GB, free: 8.234 MB / 0.8731 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.006316/1.521, allocations: 5.204 MB / 1.164 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006453/1.527, allocations: 3.342 MB / 1.168 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/1.527, allocations: 4 kB / 1.168 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.529, allocations: 1.051 MB / 1.169 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01045/1.54, allocations: 1.575 MB / 1.17 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/1.566, allocations: 18.71 MB / 1.188 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/1.568, allocations: 2.252 MB / 1.191 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.004547/1.573, allocations: 1.111 MB / 1.192 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/1.574, allocations: 1.261 MB / 1.193 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of SimCode: time 8.82e-07/1.574, allocations: 0 / 1.193 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.15/1.724, allocations: 76.62 MB / 1.268 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003242/1.725, allocations: 255.7 kB / 1.268 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.838/6.563, allocations: 0 / 1.268 GB, free: 8.715 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: