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.638/1.638, allocations: 288.4 MB / 303.6 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.0009163/0.0009165, allocations: 172.5 kB / 372.3 MB, free: 10.12 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.341/1.341, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007081/0.000708, allocations: 94.34 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 16.38 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1804, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5439/0.7243, allocations: 173.3 MB / 1.149 GB, free: 11.01 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007609/0.732, allocations: 5.332 MB / 1.155 GB, free: 7.773 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009748/0.733, allocations: 32.38 kB / 1.155 GB, free: 7.758 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.7344, allocations: 461.7 kB / 1.155 GB, free: 7.395 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.003913/0.7383, allocations: 1.581 MB / 1.157 GB, free: 6.188 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.7407, allocations: 0.9054 MB / 1.158 GB, free: 5.555 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003819/0.7445, allocations: 3.431 MB / 1.161 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.7458, allocations: 0.9312 MB / 1.162 GB, free: 3.016 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.7473, allocations: 0.8663 MB / 1.163 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.7487, allocations: 0.9172 MB / 1.164 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.7488, allocations: 54.45 kB / 1.164 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.7517, allocations: 1.592 MB / 1.165 GB, free: 1.191 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004897/0.7522, allocations: 0.4898 MB / 1.166 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006851/0.7529, allocations: 0.6192 MB / 1.166 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.7546, allocations: 1.721 MB / 1.168 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7547, allocations: 3.938 kB / 1.168 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7547, allocations: 0 / 1.168 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.7547, allocations: 4 kB / 1.168 GB, free: 15.4 MB / 0.7136 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.002094/0.7568, allocations: 1.354 MB / 1.169 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.7568, allocations: 9.406 kB / 1.169 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.757, allocations: 163.4 kB / 1.169 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.7588, allocations: 327.1 kB / 1.17 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.76, allocations: 0.8534 MB / 1.171 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/0.7601, allocations: 75.25 kB / 1.171 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.7602, allocations: 101.2 kB / 1.171 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.762, allocations: 1.09 MB / 1.172 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.762, allocations: 0 / 1.172 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.264e-05/0.7621, allocations: 39 kB / 1.172 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/0.7621, allocations: 48.92 kB / 1.172 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.7636, allocations: 0.9913 MB / 1.173 GB, free: 12.24 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.005105/0.7687, allocations: 4.252 MB / 1.177 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008026/0.7696, allocations: 0.591 MB / 1.178 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.77, allocations: 350.3 kB / 1.178 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.7702, allocations: 103.9 kB / 1.178 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.7703, allocations: 40.09 kB / 1.178 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 1.633e-06/0.7703, allocations: 3.938 kB / 1.178 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55): time 0.003621/0.7739, allocations: 2.219 MB / 1.18 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.774, allocations: 65.41 kB / 1.18 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/0.7748, allocations: 0.8674 MB / 1.181 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.7749, allocations: 36.55 kB / 1.181 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.7752, allocations: 0.508 MB / 1.182 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.7754, allocations: 197.8 kB / 1.182 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.7754, allocations: 14.97 kB / 1.182 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7755, allocations: 329.8 kB / 1.182 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.776, allocations: 295.4 kB / 1.182 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.7765, allocations: 454.5 kB / 1.183 GB, free: 4.703 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.003592/0.7801, allocations: 1.758 MB / 1.185 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7801, allocations: 2.125 kB / 1.185 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00137/0.7815, allocations: 0.9302 MB / 1.185 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.7815, allocations: 4.656 kB / 1.185 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.7815, allocations: 2.969 kB / 1.185 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.7818, allocations: 100.7 kB / 1.186 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.7825, allocations: 178.9 kB / 1.186 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.7853, allocations: 4.277 MB / 1.19 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009321/0.7863, allocations: 80.98 kB / 1.19 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.7864, allocations: 28.11 kB / 1.19 GB, free: 14.8 MB / 0.7292 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.0005272/0.7869, allocations: 352.7 kB / 1.19 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.787, allocations: 107.3 kB / 1.19 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.7872, allocations: 111.5 kB / 1.191 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7872, allocations: 5.094 kB / 1.191 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7872, allocations: 0 / 1.191 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009869/0.7882, allocations: 0.7735 MB / 1.191 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.7915, allocations: 1.996 MB / 1.193 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.7915, allocations: 5.125 kB / 1.193 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/0.7923, allocations: 156.8 kB / 1.193 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.654e-05/0.7924, allocations: 42.2 kB / 1.193 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/0.7924, allocations: 13.78 kB / 1.193 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.7936, allocations: 1.485 MB / 1.195 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7936, allocations: 6.156 kB / 1.195 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.7953, allocations: 1.242 MB / 1.196 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.7957, allocations: 247.6 kB / 1.196 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.7958, allocations: 19.84 kB / 1.196 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007407/0.7966, allocations: 79.75 kB / 1.196 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.7967, allocations: 47.28 kB / 1.197 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.323e-05/0.7968, allocations: 37.88 kB / 1.197 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006545/0.7974, allocations: 0.5995 MB / 1.197 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7974, allocations: 0 / 1.197 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008774/0.7983, allocations: 304.5 kB / 1.197 GB, free: 9.559 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.002057/0.8004, allocations: 1.882 MB / 1.199 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.8017, allocations: 1.006 MB / 1.2 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8017, allocations: 2.906 kB / 1.2 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.8023, allocations: 460.2 kB / 1.201 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/0.8052, allocations: 0.6077 MB / 1.201 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007987/0.8132, allocations: 6.204 MB / 1.207 GB, free: 100 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.8139, allocations: 1.17 MB / 1.209 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009141/0.8148, allocations: 252.4 kB / 1.209 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.8152, allocations: 375.3 kB / 1.209 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/0.8152, allocations: 0 / 1.209 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8039/1.619, allocations: 30.19 MB / 1.239 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/1.619, allocations: 288.3 kB / 1.239 GB, free: 168 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.432/5.051, allocations: 0 / 1.239 GB, free: 168 kB / 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)