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.00493/0.004931, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001421/0.001421, allocations: 202.1 kB / 16.68 MB, free: 5.961 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 275 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9435/0.9435, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 100 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1547, allocations: 86.97 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4788/0.6336, allocations: 190.4 MB / 0.9519 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008759/0.6424, allocations: 5.727 MB / 0.9575 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007353/0.6432, allocations: 39.75 kB / 0.9575 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.6445, allocations: 0.5747 MB / 0.9581 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.6483, allocations: 1.832 MB / 0.9599 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.6508, allocations: 1.191 MB / 0.9611 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003234/0.6541, allocations: 2.941 MB / 0.9639 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.6554, allocations: 1.12 MB / 0.965 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.6568, allocations: 1.055 MB / 0.9661 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.6585, allocations: 0.9568 MB / 0.967 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.6587, allocations: 124 kB / 0.9671 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.6612, allocations: 1.446 MB / 0.9685 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005927/0.6618, allocations: 0.5728 MB / 0.9691 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007635/0.6625, allocations: 0.7234 MB / 0.9698 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.6653, allocations: 2.346 MB / 0.9721 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.6653, allocations: 7.984 kB / 0.9721 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6653, allocations: 0 / 0.9721 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.6654, allocations: 0 / 0.9721 GB, free: 15.89 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.002501/0.6679, allocations: 1.657 MB / 0.9737 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.6679, allocations: 8.031 kB / 0.9737 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.6681, allocations: 160 kB / 0.9739 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.67, allocations: 330.9 kB / 0.9742 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.6714, allocations: 0.926 MB / 0.9751 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.6715, allocations: 74 kB / 0.9751 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.6716, allocations: 100 kB / 0.9752 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.6735, allocations: 1.081 MB / 0.9763 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.6735, allocations: 7.953 kB / 0.9763 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/0.6736, allocations: 43.98 kB / 0.9763 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/0.6737, allocations: 45.97 kB / 0.9764 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.6754, allocations: 0.9876 MB / 0.9774 GB, free: 10.37 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.005898/0.6813, allocations: 4.234 MB / 0.9815 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009309/0.6822, allocations: 0.6 MB / 0.9821 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.6827, allocations: 346.5 kB / 0.9824 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/0.6829, allocations: 105.5 kB / 0.9825 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.683, allocations: 42.94 kB / 0.9826 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 1.954e-06/0.683, allocations: 0 / 0.9826 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003935/0.6869, allocations: 2.222 MB / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.687, allocations: 59.91 kB / 0.9848 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.6881, allocations: 0.8766 MB / 0.9856 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.6881, allocations: 37.7 kB / 0.9857 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.6886, allocations: 0.5312 MB / 0.9862 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.6888, allocations: 202.2 kB / 0.9864 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.689, allocations: 134.6 kB / 0.9865 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6891, allocations: 334 kB / 0.9868 GB, free: 188 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.6897, allocations: 289.8 kB / 0.9871 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/0.6903, allocations: 433 kB / 0.9875 GB, free: 15.43 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.003904/0.6942, allocations: 1.745 MB / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6942, allocations: 0 / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00151/0.6957, allocations: 0.9262 MB / 0.9901 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.6958, allocations: 8 kB / 0.9901 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.6958, allocations: 4 kB / 0.9901 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.696, allocations: 106.9 kB / 0.9902 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.6967, allocations: 159.8 kB / 0.9904 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/0.7006, allocations: 4.628 MB / 0.9949 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.7013, allocations: 31.97 kB / 0.9949 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.7014, allocations: 24 kB / 0.995 GB, free: 7.289 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.0004695/0.7019, allocations: 350.1 kB / 0.9953 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.702, allocations: 111.4 kB / 0.9954 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.7022, allocations: 113.2 kB / 0.9955 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.7022, allocations: 4 kB / 0.9955 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7023, allocations: 0.875 kB / 0.9955 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/0.7034, allocations: 0.7652 MB / 0.9963 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.7064, allocations: 1.992 MB / 0.9982 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.7064, allocations: 0 / 0.9982 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.7071, allocations: 151.8 kB / 0.9984 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-05/0.7072, allocations: 45.17 kB / 0.9984 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.7072, allocations: 17.12 kB / 0.9984 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.7086, allocations: 1.602 MB / 1 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.7086, allocations: 7.938 kB / 1 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.7104, allocations: 1.208 MB / 1.001 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/0.7108, allocations: 268.3 kB / 1.001 GB, free: 292 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.7109, allocations: 12 kB / 1.001 GB, free: 280 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.7115, allocations: 35.97 kB / 1.001 GB, free: 244 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.7117, allocations: 55.98 kB / 1.002 GB, free: 188 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/0.7117, allocations: 31.98 kB / 1.002 GB, free: 156 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007782/0.7125, allocations: 0.6123 MB / 1.002 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7125, allocations: 0 / 1.002 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008019/0.7133, allocations: 300 kB / 1.002 GB, free: 15.25 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.002391/0.7157, allocations: 1.854 MB / 1.004 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.7172, allocations: 1.011 MB / 1.005 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7172, allocations: 4 kB / 1.005 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006446/0.7179, allocations: 451.7 kB / 1.006 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.7205, allocations: 0.6472 MB / 1.006 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.7312, allocations: 7.959 MB / 1.014 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008504/0.7321, allocations: 1.166 MB / 1.015 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007654/0.7328, allocations: 252.4 kB / 1.015 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/0.7334, allocations: 383.3 kB / 1.016 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of SimCode: time 4.01e-07/0.7334, allocations: 4 kB / 1.016 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06995/0.8033, allocations: 30.53 MB / 1.046 GB, free: 3.16 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.19, allocations: 6.375 kB / 1.046 GB, free: 3.152 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)