Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.814/1.814, allocations: 288.4 MB / 303.3 MB, free: 8.137 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.001109/0.001109, allocations: 176.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 0.6307 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007915/0.0007915, allocations: 90.3 kB / 0.744 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004709, allocations: 16.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2695, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9032/1.173, allocations: 173.3 MB / 1.149 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01142/1.184, allocations: 5.331 MB / 1.154 GB, free: 7.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/1.186, allocations: 30.31 kB / 1.154 GB, free: 7.898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/1.188, allocations: 401.7 kB / 1.154 GB, free: 7.562 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005517/1.193, allocations: 1.355 MB / 1.156 GB, free: 6.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/1.197, allocations: 0.8343 MB / 1.157 GB, free: 5.914 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006418/1.203, allocations: 3.41 MB / 1.16 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/1.205, allocations: 0.8105 MB / 1.161 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/1.208, allocations: 0.8739 MB / 1.162 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/1.21, allocations: 0.9109 MB / 1.162 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/1.211, allocations: 46.25 kB / 1.163 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003822/1.215, allocations: 0.7092 MB / 1.163 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009379/1.215, allocations: 496.6 kB / 1.164 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000837/1.216, allocations: 277.9 kB / 1.164 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003071/1.219, allocations: 1.632 MB / 1.166 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/1.219, allocations: 0 / 1.166 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/1.219, allocations: 0.7188 kB / 1.166 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.552e-05/1.219, allocations: 0 / 1.166 GB, free: 0.6562 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003501/1.223, allocations: 1.373 MB / 1.167 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.223, allocations: 12.95 kB / 1.167 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002653/1.223, allocations: 155 kB / 1.167 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/1.226, allocations: 335.6 kB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/1.227, allocations: 0.8267 MB / 1.168 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.421e-05/1.227, allocations: 78.44 kB / 1.168 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/1.228, allocations: 96.78 kB / 1.168 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/1.23, allocations: 1.086 MB / 1.169 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/1.23, allocations: 0 / 1.169 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/1.23, allocations: 43 kB / 1.169 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.584e-05/1.23, allocations: 40.36 kB / 1.169 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/1.232, allocations: 0.9966 MB / 1.17 GB, free: 13.52 MB / 0.7136 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.008417/1.241, allocations: 4.247 MB / 1.175 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009778/1.242, allocations: 0.5925 MB / 1.175 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005345/1.242, allocations: 355.8 kB / 1.176 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/1.243, allocations: 108.1 kB / 1.176 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/1.243, allocations: 41.03 kB / 1.176 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 2.905e-06/1.243, allocations: 0 / 1.176 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55): time 0.004857/1.247, allocations: 2.219 MB / 1.178 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/1.248, allocations: 58.88 kB / 1.178 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/1.249, allocations: 0.8682 MB / 1.179 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/1.249, allocations: 38.83 kB / 1.179 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/1.249, allocations: 0.5059 MB / 1.179 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/1.249, allocations: 200.6 kB / 1.179 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/1.25, allocations: 14.91 kB / 1.179 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.25, allocations: 335 kB / 1.18 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/1.25, allocations: 291 kB / 1.18 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/1.251, allocations: 446 kB / 1.18 GB, free: 5.984 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/1.254, allocations: 1.096 MB / 1.182 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.254, allocations: 2.781 kB / 1.182 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001738/1.256, allocations: 0.925 MB / 1.182 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.256, allocations: 5.75 kB / 1.182 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.256, allocations: 3.031 kB / 1.182 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/1.256, allocations: 101 kB / 1.183 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/1.257, allocations: 173.8 kB / 1.183 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/1.26, allocations: 4.284 MB / 1.187 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.262, allocations: 78.17 kB / 1.187 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/1.262, allocations: 27.44 kB / 1.187 GB, free: 0.5117 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007382/1.263, allocations: 353.4 kB / 1.187 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/1.263, allocations: 102.7 kB / 1.187 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/1.263, allocations: 110.7 kB / 1.188 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.263, allocations: 5.719 kB / 1.188 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.263, allocations: 0 / 1.188 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001173/1.264, allocations: 0.7736 MB / 1.188 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/1.268, allocations: 1.985 MB / 1.19 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.268, allocations: 4.875 kB / 1.19 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006872/1.268, allocations: 158.6 kB / 1.19 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/1.268, allocations: 42.64 kB / 1.19 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/1.268, allocations: 11.94 kB / 1.19 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/1.27, allocations: 1.486 MB / 1.192 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.27, allocations: 2.469 kB / 1.192 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/1.272, allocations: 1.255 MB / 1.193 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/1.272, allocations: 251.3 kB / 1.193 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.272, allocations: 17.75 kB / 1.193 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008824/1.273, allocations: 83.34 kB / 1.193 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.273, allocations: 41.67 kB / 1.194 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/1.273, allocations: 41.64 kB / 1.194 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008987/1.274, allocations: 0.6009 MB / 1.194 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.71e-07/1.274, allocations: 0 / 1.194 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001149/1.276, allocations: 299.8 kB / 1.194 GB, free: 11.28 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002575/1.278, allocations: 1.873 MB / 1.196 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001764/1.28, allocations: 1.014 MB / 1.197 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.28, allocations: 7.406 kB / 1.197 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006262/1.281, allocations: 448.5 kB / 1.198 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/1.284, allocations: 0.6248 MB / 1.198 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/1.295, allocations: 6.195 MB / 1.204 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008876/1.296, allocations: 1.166 MB / 1.205 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00136/1.298, allocations: 252.4 kB / 1.206 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/1.298, allocations: 371.3 kB / 1.206 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of SimCode: time 7.92e-07/1.298, allocations: 0 / 1.206 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05895/1.357, allocations: 29.87 MB / 1.235 GB, free: 3.594 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/1.357, allocations: 296.3 kB / 1.236 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/4.486, allocations: 3.516 kB / 1.236 GB, free: 3.234 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)