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.001386/0.001386, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001524/0.001524, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 290.6 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8969/0.8969, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 98.78 kB / 0.5948 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 86.98 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.3983/0.5239, allocations: 188 MB / 0.8633 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008146/0.5321, allocations: 5.656 MB / 0.8688 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.5333, allocations: 38.38 kB / 0.8689 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.5348, allocations: 0.5024 MB / 0.8694 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.5386, allocations: 1.724 MB / 0.871 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.541, allocations: 1.086 MB / 0.8721 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002539/0.5435, allocations: 2.948 MB / 0.875 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.5445, allocations: 1.093 MB / 0.8761 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.5457, allocations: 1.061 MB / 0.8771 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.5471, allocations: 1.037 MB / 0.8781 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.5472, allocations: 123.1 kB / 0.8782 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.5492, allocations: 1.518 MB / 0.8797 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004229/0.5496, allocations: 0.569 MB / 0.8803 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005623/0.5502, allocations: 0.7271 MB / 0.881 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.5522, allocations: 2.418 MB / 0.8833 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.5522, allocations: 0 / 0.8833 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5523, allocations: 4 kB / 0.8833 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.5523, allocations: 0 / 0.8833 GB, free: 4.551 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.002084/0.5544, allocations: 1.616 MB / 0.8849 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.5544, allocations: 9.562 kB / 0.8849 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.5546, allocations: 161.2 kB / 0.8851 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.5564, allocations: 335.1 kB / 0.8854 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.5575, allocations: 0.8637 MB / 0.8862 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.5576, allocations: 73.56 kB / 0.8863 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.5577, allocations: 109.8 kB / 0.8864 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.5593, allocations: 1.091 MB / 0.8875 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.5593, allocations: 0 / 0.8875 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/0.5594, allocations: 44.56 kB / 0.8875 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.5594, allocations: 34.5 kB / 0.8875 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.5608, allocations: 0.9971 MB / 0.8885 GB, free: 1.207 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.004969/0.5658, allocations: 4.245 MB / 0.8927 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.5666, allocations: 0.5966 MB / 0.8933 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.5671, allocations: 338.5 kB / 0.8936 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.5673, allocations: 109.5 kB / 0.8937 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.5673, allocations: 49.31 kB / 0.8937 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 1.643e-06/0.5673, allocations: 0 / 0.8937 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.003518/0.5708, allocations: 2.197 MB / 0.8959 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.5709, allocations: 63.91 kB / 0.8959 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008813/0.5718, allocations: 0.8804 MB / 0.8968 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/0.5718, allocations: 45.7 kB / 0.8968 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.5721, allocations: 0.5107 MB / 0.8973 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.5723, allocations: 197.2 kB / 0.8975 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.5725, allocations: 134.4 kB / 0.8977 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.5726, allocations: 334 kB / 0.898 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.573, allocations: 285.8 kB / 0.8982 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.5736, allocations: 436.9 kB / 0.8987 GB, free: 6.988 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.003559/0.5771, allocations: 1.745 MB / 0.9004 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5771, allocations: 4 kB / 0.9004 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001339/0.5785, allocations: 0.9218 MB / 0.9013 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5785, allocations: 4 kB / 0.9013 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5785, allocations: 4.5 kB / 0.9013 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.5787, allocations: 114.4 kB / 0.9014 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/0.5794, allocations: 159.8 kB / 0.9015 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.5825, allocations: 4.628 MB / 0.9061 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000851/0.5833, allocations: 75.8 kB / 0.9061 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.5834, allocations: 31.98 kB / 0.9062 GB, free: 14.79 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.000418/0.5838, allocations: 342.2 kB / 0.9065 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.584, allocations: 98.88 kB / 0.9066 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.5841, allocations: 109.2 kB / 0.9067 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5842, allocations: 4 kB / 0.9067 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5842, allocations: 0.875 kB / 0.9067 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009565/0.5851, allocations: 0.7691 MB / 0.9074 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.5878, allocations: 1.996 MB / 0.9094 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5878, allocations: 4 kB / 0.9094 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006447/0.5885, allocations: 143.8 kB / 0.9095 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.442e-05/0.5886, allocations: 36.84 kB / 0.9096 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.5886, allocations: 23.98 kB / 0.9096 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.5897, allocations: 1.608 MB / 0.9112 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5897, allocations: 8.062 kB / 0.9112 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.5912, allocations: 1.206 MB / 0.9123 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.5916, allocations: 259.8 kB / 0.9126 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.5917, allocations: 19.98 kB / 0.9126 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.5925, allocations: 67.61 kB / 0.9127 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.5926, allocations: 47.81 kB / 0.9127 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.5926, allocations: 31.98 kB / 0.9127 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006772/0.5933, allocations: 0.6161 MB / 0.9134 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5933, allocations: 0 / 0.9134 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007932/0.5941, allocations: 304 kB / 0.9136 GB, free: 6.746 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.002107/0.5962, allocations: 1.848 MB / 0.9154 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.5979, allocations: 1.113 MB / 0.9165 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5979, allocations: 0 / 0.9165 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005946/0.5985, allocations: 442.3 kB / 0.917 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.6009, allocations: 0.6516 MB / 0.9176 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.6117, allocations: 8.683 MB / 0.9261 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/0.6125, allocations: 1.169 MB / 0.9272 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008196/0.6133, allocations: 256.4 kB / 0.9275 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/0.6138, allocations: 387.2 kB / 0.9278 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.6138, allocations: 0 / 0.9278 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.29/2.904, allocations: 29.99 MB / 0.9571 GB, free: 10.32 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/2.904, allocations: 324.1 kB / 0.9574 GB, free: 9.938 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/5.292, allocations: 0 / 0.9574 GB, free: 9.938 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)