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.001528/0.001528, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001914/0.001914, allocations: 196.7 kB / 16.14 MB, free: 6.66 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.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 283.1 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9318/0.9318, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 104.1 kB / 0.5946 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1315, allocations: 86.97 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4366/0.5681, allocations: 188.2 MB / 0.8633 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00808/0.5762, allocations: 5.764 MB / 0.869 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009112/0.5772, allocations: 34.66 kB / 0.869 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.5784, allocations: 0.4896 MB / 0.8695 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003457/0.5819, allocations: 1.736 MB / 0.8712 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.5842, allocations: 1.066 MB / 0.8722 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003246/0.5874, allocations: 4.089 MB / 0.8762 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.5885, allocations: 0.9675 MB / 0.8772 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.5897, allocations: 0.9046 MB / 0.878 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.5913, allocations: 1.002 MB / 0.879 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.5914, allocations: 60.22 kB / 0.8791 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.5941, allocations: 1.64 MB / 0.8807 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.5946, allocations: 0.5154 MB / 0.8812 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.5952, allocations: 0.6572 MB / 0.8818 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.5975, allocations: 2.356 MB / 0.8841 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5975, allocations: 0 / 0.8841 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5975, allocations: 1.938 kB / 0.8841 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.5976, allocations: 0 / 0.8841 GB, free: 4.047 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.002329/0.5999, allocations: 1.62 MB / 0.8857 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5999, allocations: 7.469 kB / 0.8857 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.6001, allocations: 160.1 kB / 0.8859 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.6021, allocations: 326.9 kB / 0.8862 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.6034, allocations: 0.8715 MB / 0.887 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.6034, allocations: 73.97 kB / 0.8871 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.6036, allocations: 101.7 kB / 0.8872 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.6053, allocations: 1.093 MB / 0.8883 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.6053, allocations: 0 / 0.8883 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.99e-05/0.6054, allocations: 42.09 kB / 0.8883 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.6055, allocations: 44.67 kB / 0.8883 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.607, allocations: 0.9933 MB / 0.8893 GB, free: 0.7031 MB / 0.5919 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.005778/0.6128, allocations: 4.253 MB / 0.8935 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.6137, allocations: 0.5883 MB / 0.894 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.6142, allocations: 346.5 kB / 0.8944 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.6144, allocations: 105.5 kB / 0.8945 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.6144, allocations: 42.98 kB / 0.8945 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 1.814e-06/0.6144, allocations: 0 / 0.8945 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004888/0.6193, allocations: 2.201 MB / 0.8967 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.6194, allocations: 67.89 kB / 0.8967 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.621, allocations: 0.8765 MB / 0.8976 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.953e-05/0.621, allocations: 37.7 kB / 0.8976 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/0.6216, allocations: 0.5184 MB / 0.8981 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.6218, allocations: 193.3 kB / 0.8983 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/0.6221, allocations: 130.5 kB / 0.8984 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6223, allocations: 338 kB / 0.8988 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007443/0.623, allocations: 289.8 kB / 0.899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009127/0.624, allocations: 433 kB / 0.8994 GB, free: 6.145 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.005675/0.6297, allocations: 1.745 MB / 0.9012 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6297, allocations: 4 kB / 0.9012 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001498/0.6312, allocations: 0.9218 MB / 0.9021 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.6312, allocations: 4 kB / 0.9021 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.6312, allocations: 8.484 kB / 0.9021 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.6314, allocations: 110.3 kB / 0.9022 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.6322, allocations: 163.8 kB / 0.9023 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/0.6352, allocations: 4.283 MB / 0.9065 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.6362, allocations: 75.86 kB / 0.9066 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.6362, allocations: 28 kB / 0.9066 GB, free: 14.31 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.0004785/0.6367, allocations: 342.2 kB / 0.9069 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.6369, allocations: 94.88 kB / 0.907 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.6371, allocations: 113.2 kB / 0.9071 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.6371, allocations: 8 kB / 0.9071 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.6371, allocations: 3.938 kB / 0.9071 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/0.6381, allocations: 0.7652 MB / 0.9079 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/0.641, allocations: 1.98 MB / 0.9098 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.641, allocations: 8.031 kB / 0.9098 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000671/0.6417, allocations: 143.8 kB / 0.91 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.605e-05/0.6418, allocations: 40.83 kB / 0.91 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.6418, allocations: 16 kB / 0.91 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.6429, allocations: 1.493 MB / 0.9115 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6429, allocations: 7.938 kB / 0.9115 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.6445, allocations: 1.214 MB / 0.9127 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/0.6449, allocations: 259.9 kB / 0.9129 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.645, allocations: 16 kB / 0.9129 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007894/0.6458, allocations: 67.08 kB / 0.913 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/0.6459, allocations: 51.81 kB / 0.9131 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/0.646, allocations: 31.98 kB / 0.9131 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006933/0.6467, allocations: 0.6122 MB / 0.9137 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6467, allocations: 0 / 0.9137 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008545/0.6476, allocations: 300 kB / 0.914 GB, free: 6.402 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.002133/0.6497, allocations: 1.851 MB / 0.9158 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.6511, allocations: 1.003 MB / 0.9168 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6511, allocations: 4 kB / 0.9168 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005903/0.6517, allocations: 448.1 kB / 0.9172 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.6543, allocations: 0.6263 MB / 0.9178 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.6652, allocations: 8.68 MB / 0.9263 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.6659, allocations: 1.169 MB / 0.9274 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009484/0.6669, allocations: 256.3 kB / 0.9277 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/0.6673, allocations: 379.3 kB / 0.928 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of SimCode: time 4.51e-07/0.6673, allocations: 4 kB / 0.928 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08241/0.7498, allocations: 29.19 MB / 0.9565 GB, free: 10.86 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.75, allocations: 320.5 kB / 0.9568 GB, free: 10.47 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.181, allocations: 2.922 kB / 0.9568 GB, free: 10.47 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)