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.005478/0.005478, allocations: 102.1 kB / 15.73 MB, free: 6.012 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.001314/0.001314, allocations: 196.6 kB / 16.67 MB, free: 5.938 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.047 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 287.1 kB / 290.8 MB, free: 1.637 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9027/0.9027, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 96.94 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1626, allocations: 86.98 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.567/0.7296, allocations: 190.5 MB / 0.9519 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00875/0.7384, allocations: 5.702 MB / 0.9575 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.7397, allocations: 43.75 kB / 0.9575 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.7413, allocations: 0.5708 MB / 0.9581 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004308/0.7457, allocations: 1.832 MB / 0.9599 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.7485, allocations: 1.183 MB / 0.961 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003792/0.7523, allocations: 2.954 MB / 0.9639 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.754, allocations: 1.12 MB / 0.965 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.756, allocations: 1.07 MB / 0.9661 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.7581, allocations: 0.9648 MB / 0.967 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.7584, allocations: 120 kB / 0.9671 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.7613, allocations: 1.454 MB / 0.9685 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007363/0.7621, allocations: 0.565 MB / 0.9691 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.7634, allocations: 0.7311 MB / 0.9698 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.7668, allocations: 2.341 MB / 0.9721 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7669, allocations: 0 / 0.9721 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7669, allocations: 0 / 0.9721 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.162e-05/0.7669, allocations: 0 / 0.9721 GB, free: 15.85 MB / 0.7325 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.003217/0.7702, allocations: 1.616 MB / 0.9737 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.7702, allocations: 16.03 kB / 0.9737 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002729/0.7705, allocations: 156.2 kB / 0.9738 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.7726, allocations: 334.2 kB / 0.9742 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.7742, allocations: 0.9058 MB / 0.975 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.7743, allocations: 77.94 kB / 0.9751 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.7744, allocations: 100 kB / 0.9752 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.7764, allocations: 1.081 MB / 0.9763 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.7764, allocations: 0 / 0.9763 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.7765, allocations: 40 kB / 0.9763 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.7766, allocations: 45.98 kB / 0.9763 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.7783, allocations: 0.9876 MB / 0.9773 GB, free: 10.39 MB / 0.7325 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.006452/0.7848, allocations: 4.225 MB / 0.9814 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009348/0.7857, allocations: 0.5943 MB / 0.982 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.7862, allocations: 342.5 kB / 0.9823 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/0.7864, allocations: 105.5 kB / 0.9824 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.7865, allocations: 46.92 kB / 0.9825 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 3.717e-06/0.7865, allocations: 4 kB / 0.9825 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.004158/0.7907, allocations: 2.193 MB / 0.9846 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.7907, allocations: 63.89 kB / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.7919, allocations: 0.8842 MB / 0.9856 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.504e-05/0.792, allocations: 45.64 kB / 0.9856 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.7924, allocations: 0.5068 MB / 0.9861 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.7926, allocations: 205.1 kB / 0.9863 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.7928, allocations: 130.6 kB / 0.9864 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.7929, allocations: 334 kB / 0.9867 GB, free: 252 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.7934, allocations: 285.8 kB / 0.987 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/0.794, allocations: 441.7 kB / 0.9874 GB, free: 15.48 MB / 0.7481 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.003754/0.7978, allocations: 1.737 MB / 0.9891 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7978, allocations: 0 / 0.9891 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001442/0.7992, allocations: 0.9262 MB / 0.99 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.7993, allocations: 8 kB / 0.99 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.7993, allocations: 4 kB / 0.99 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.7995, allocations: 98.45 kB / 0.9901 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.8002, allocations: 167.7 kB / 0.9903 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/0.8038, allocations: 4.632 MB / 0.9948 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008048/0.8047, allocations: 31.89 kB / 0.9948 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.8047, allocations: 28.16 kB / 0.9949 GB, free: 7.348 MB / 0.7481 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.000515/0.8053, allocations: 350.1 kB / 0.9952 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.8055, allocations: 98.88 kB / 0.9953 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.8057, allocations: 109.2 kB / 0.9954 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.8057, allocations: 7.984 kB / 0.9954 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.8057, allocations: 4 kB / 0.9954 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/0.8068, allocations: 0.7614 MB / 0.9962 GB, free: 5.961 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.81, allocations: 1.992 MB / 0.9981 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.81, allocations: 4.406 kB / 0.9981 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006577/0.8107, allocations: 147.8 kB / 0.9983 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-05/0.8108, allocations: 40.77 kB / 0.9983 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.8108, allocations: 16 kB / 0.9983 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.8122, allocations: 1.606 MB / 0.9999 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.8122, allocations: 8 kB / 0.9999 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.8138, allocations: 1.208 MB / 1.001 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/0.8143, allocations: 259.9 kB / 1.001 GB, free: 372 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.8144, allocations: 12 kB / 1.001 GB, free: 360 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.8151, allocations: 37.19 kB / 1.001 GB, free: 324 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.8152, allocations: 39.89 kB / 1.001 GB, free: 284 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.8153, allocations: 35.92 kB / 1.001 GB, free: 248 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007607/0.8161, allocations: 0.6161 MB / 1.002 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8161, allocations: 0 / 1.002 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008915/0.817, allocations: 300 kB / 1.002 GB, free: 15.34 MB / 0.7637 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.002221/0.8192, allocations: 1.849 MB / 1.004 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.8207, allocations: 1.015 MB / 1.005 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.8207, allocations: 1 kB / 1.005 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.8213, allocations: 458.4 kB / 1.006 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/0.8238, allocations: 0.6506 MB / 1.006 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.8352, allocations: 7.916 MB / 1.014 GB, free: 3.051 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009422/0.8362, allocations: 1.174 MB / 1.015 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008709/0.837, allocations: 252.4 kB / 1.015 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/0.8376, allocations: 383.3 kB / 1.016 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of SimCode: time 5.61e-07/0.8376, allocations: 0 / 1.016 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06408/0.9017, allocations: 31.02 MB / 1.046 GB, free: 2.797 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.95, allocations: 11.94 kB / 1.046 GB, free: 2.789 MB / 0.795 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)