Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.001037/0.001038, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 286.5 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8681/0.8681, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 101.2 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.127, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.398/0.525, allocations: 190.5 MB / 0.8663 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006964/0.532, allocations: 5.706 MB / 0.8718 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/0.5325, allocations: 41.31 kB / 0.8719 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.5335, allocations: 0.5693 MB / 0.8724 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.5364, allocations: 1.825 MB / 0.8742 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.5384, allocations: 1.177 MB / 0.8754 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.5405, allocations: 2.96 MB / 0.8783 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009804/0.5415, allocations: 1.118 MB / 0.8794 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009783/0.5425, allocations: 1.042 MB / 0.8804 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.5438, allocations: 0.9602 MB / 0.8813 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.5439, allocations: 123.2 kB / 0.8814 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.5458, allocations: 1.45 MB / 0.8828 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004201/0.5462, allocations: 0.5637 MB / 0.8834 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000573/0.5468, allocations: 0.7267 MB / 0.8841 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.5486, allocations: 2.315 MB / 0.8864 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.5487, allocations: 0 / 0.8864 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5487, allocations: 0 / 0.8864 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.5487, allocations: 0 / 0.8864 GB, free: 2.066 MB / 0.5919 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.001949/0.5506, allocations: 1.619 MB / 0.8879 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.5507, allocations: 14.38 kB / 0.888 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.5508, allocations: 164.4 kB / 0.8881 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.5525, allocations: 327.3 kB / 0.8884 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5536, allocations: 0.8636 MB / 0.8893 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.5536, allocations: 78.27 kB / 0.8893 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.5537, allocations: 101.4 kB / 0.8894 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.5552, allocations: 1.094 MB / 0.8905 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.5552, allocations: 0 / 0.8905 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.5553, allocations: 44.59 kB / 0.8906 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.5553, allocations: 42.64 kB / 0.8906 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.5567, allocations: 0.9924 MB / 0.8916 GB, free: 14.71 MB / 0.6075 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.004773/0.5615, allocations: 4.266 MB / 0.8957 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.5623, allocations: 0.606 MB / 0.8963 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/0.5627, allocations: 350.5 kB / 0.8967 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.5629, allocations: 101.5 kB / 0.8968 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5629, allocations: 43 kB / 0.8968 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 1.453e-06/0.5629, allocations: 0 / 0.8968 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.003307/0.5662, allocations: 2.201 MB / 0.8989 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.5663, allocations: 63.84 kB / 0.899 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008826/0.5671, allocations: 0.8804 MB / 0.8999 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.5672, allocations: 41.7 kB / 0.8999 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.5675, allocations: 0.5184 MB / 0.9004 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.5677, allocations: 193.3 kB / 0.9006 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.5678, allocations: 138.5 kB / 0.9007 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.5679, allocations: 330 kB / 0.901 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.5684, allocations: 285.8 kB / 0.9013 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/0.5689, allocations: 433 kB / 0.9017 GB, free: 4.094 MB / 0.6075 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.003454/0.5723, allocations: 1.749 MB / 0.9034 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5724, allocations: 4 kB / 0.9034 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001279/0.5736, allocations: 0.9223 MB / 0.9043 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5737, allocations: 8 kB / 0.9043 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5737, allocations: 4 kB / 0.9043 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.5739, allocations: 102.4 kB / 0.9044 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.5745, allocations: 163.8 kB / 0.9046 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.5774, allocations: 4.639 MB / 0.9091 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006928/0.5781, allocations: 31.91 kB / 0.9092 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.5781, allocations: 28 kB / 0.9092 GB, free: 11.93 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003547/0.5785, allocations: 342.2 kB / 0.9095 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.5787, allocations: 102.9 kB / 0.9096 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.5788, allocations: 109.2 kB / 0.9097 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5788, allocations: 4 kB / 0.9097 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.5788, allocations: 0 / 0.9097 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000924/0.5798, allocations: 0.7691 MB / 0.9105 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.5823, allocations: 1.988 MB / 0.9124 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5824, allocations: 7.984 kB / 0.9124 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.583, allocations: 145.3 kB / 0.9126 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.072e-05/0.583, allocations: 40.83 kB / 0.9126 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.5831, allocations: 16 kB / 0.9126 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.5841, allocations: 1.606 MB / 0.9142 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.5841, allocations: 7.938 kB / 0.9142 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.5856, allocations: 1.206 MB / 0.9154 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.5859, allocations: 263.8 kB / 0.9156 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.586, allocations: 15.94 kB / 0.9156 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006341/0.5867, allocations: 32.88 kB / 0.9157 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.5868, allocations: 51.81 kB / 0.9157 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.5868, allocations: 31.98 kB / 0.9157 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006345/0.5875, allocations: 0.6122 MB / 0.9163 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5875, allocations: 0 / 0.9163 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007067/0.5882, allocations: 308 kB / 0.9166 GB, free: 3.918 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001906/0.5901, allocations: 1.837 MB / 0.9184 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.5915, allocations: 1.113 MB / 0.9195 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5916, allocations: 0 / 0.9195 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.5921, allocations: 456.2 kB / 0.92 GB, free: 424 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/0.5945, allocations: 0.6528 MB / 0.9206 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00898/0.6035, allocations: 8.306 MB / 0.9287 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.6041, allocations: 1.173 MB / 0.9298 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007628/0.6049, allocations: 244.4 kB / 0.9301 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.6053, allocations: 387.3 kB / 0.9305 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.6053, allocations: 0 / 0.9305 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.142/6.748, allocations: 30.28 MB / 0.96 GB, free: 7.551 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/18.82, allocations: 11.94 kB / 0.96 GB, free: 7.539 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)