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.005759/0.005759, allocations: 94.98 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.001583/0.001583, allocations: 200.4 kB / 16.68 MB, free: 5.969 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002376/0.002376, allocations: 266.9 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 178.6 MB / 0.5074 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 100.4 kB / 0.6943 GB, free: 3.594 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4152, allocations: 89.15 MB / 0.7814 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2128/0.628, allocations: 190.5 MB / 0.9674 GB, free: 36 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009134/0.6372, allocations: 5.717 MB / 0.9729 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009584/0.6382, allocations: 39.75 kB / 0.973 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.6396, allocations: 0.563 MB / 0.9735 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.6436, allocations: 1.836 MB / 0.9753 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.6464, allocations: 1.185 MB / 0.9765 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003354/0.6498, allocations: 2.951 MB / 0.9794 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.6511, allocations: 1.124 MB / 0.9805 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.6526, allocations: 1.055 MB / 0.9815 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.6543, allocations: 0.9687 MB / 0.9824 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.6545, allocations: 124 kB / 0.9825 GB, free: 440 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.6571, allocations: 1.446 MB / 0.984 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005916/0.6577, allocations: 0.5728 MB / 0.9845 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007828/0.6585, allocations: 0.7195 MB / 0.9852 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.6614, allocations: 2.336 MB / 0.9875 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6614, allocations: 4 kB / 0.9875 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6614, allocations: 4 kB / 0.9875 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.6614, allocations: 0 / 0.9875 GB, free: 11.33 MB / 0.7481 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.00256/0.664, allocations: 1.657 MB / 0.9891 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.664, allocations: 12.03 kB / 0.9891 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001992/0.6642, allocations: 156.2 kB / 0.9893 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.6662, allocations: 338.9 kB / 0.9896 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.6676, allocations: 0.9222 MB / 0.9905 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.6677, allocations: 70 kB / 0.9906 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.6679, allocations: 100 kB / 0.9907 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.6697, allocations: 1.077 MB / 0.9917 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.6697, allocations: 3.953 kB / 0.9917 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.83e-05/0.6698, allocations: 43.98 kB / 0.9918 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/0.6699, allocations: 41.98 kB / 0.9918 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.6716, allocations: 0.9915 MB / 0.9928 GB, free: 5.82 MB / 0.7481 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.006003/0.6776, allocations: 4.238 MB / 0.9969 GB, free: 1.285 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.6785, allocations: 0.5897 MB / 0.9975 GB, free: 0.6914 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.6791, allocations: 346.5 kB / 0.9978 GB, free: 360 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.6793, allocations: 105.5 kB / 0.9979 GB, free: 236 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.6793, allocations: 47 kB / 0.998 GB, free: 180 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=53): time 1.853e-06/0.6793, allocations: 0 / 0.998 GB, free: 180 kB / 0.7481 GB Notification: Performance of matching and sorting (n=55): time 0.004078/0.6834, allocations: 2.207 MB / 1 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.6835, allocations: 67.84 kB / 1 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.6846, allocations: 0.8844 MB / 1.001 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.6847, allocations: 37.7 kB / 1.001 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.6851, allocations: 0.5273 MB / 1.002 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.6853, allocations: 214.2 kB / 1.002 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.6855, allocations: 130.6 kB / 1.002 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.6857, allocations: 334 kB / 1.002 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/0.6862, allocations: 289.8 kB / 1.003 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/0.6868, allocations: 435.1 kB / 1.003 GB, free: 10.88 MB / 0.7637 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.00399/0.6908, allocations: 1.734 MB / 1.005 GB, free: 9.078 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6909, allocations: 0 / 1.005 GB, free: 9.078 MB / 0.7637 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001548/0.6924, allocations: 0.9302 MB / 1.006 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.6924, allocations: 11.98 kB / 1.006 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.6925, allocations: 7.938 kB / 1.006 GB, free: 8.109 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.6927, allocations: 94.94 kB / 1.006 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/0.6934, allocations: 167.7 kB / 1.006 GB, free: 7.844 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/0.6973, allocations: 4.636 MB / 1.01 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/0.6981, allocations: 27.98 kB / 1.01 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.6982, allocations: 28 kB / 1.01 GB, free: 2.734 MB / 0.7637 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.0005333/0.6987, allocations: 337.5 kB / 1.011 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.6989, allocations: 107.3 kB / 1.011 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.6991, allocations: 117.2 kB / 1.011 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6991, allocations: 8 kB / 1.011 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6991, allocations: 0 / 1.011 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/0.7003, allocations: 0.7652 MB / 1.012 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.7034, allocations: 1.996 MB / 1.014 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7034, allocations: 4 kB / 1.014 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/0.7041, allocations: 143.8 kB / 1.014 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-05/0.7042, allocations: 41.23 kB / 1.014 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.7043, allocations: 20 kB / 1.014 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.7056, allocations: 1.606 MB / 1.015 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.7057, allocations: 12 kB / 1.015 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.7074, allocations: 1.212 MB / 1.017 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.7078, allocations: 268.3 kB / 1.017 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.7079, allocations: 12 kB / 1.017 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006588/0.7086, allocations: 31.97 kB / 1.017 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.7087, allocations: 47.83 kB / 1.017 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.356e-05/0.7088, allocations: 31.98 kB / 1.017 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008026/0.7096, allocations: 0.6161 MB / 1.018 GB, free: 11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7096, allocations: 0 / 1.018 GB, free: 11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008585/0.7104, allocations: 304 kB / 1.018 GB, free: 10.7 MB / 0.7794 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.002413/0.7129, allocations: 1.853 MB / 1.02 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.7145, allocations: 1.011 MB / 1.021 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7145, allocations: 0 / 1.021 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006497/0.7151, allocations: 447.6 kB / 1.021 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.7179, allocations: 0.6616 MB / 1.022 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.7293, allocations: 7.966 MB / 1.03 GB, free: 14.36 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/0.7302, allocations: 1.174 MB / 1.031 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008564/0.731, allocations: 248.4 kB / 1.031 GB, free: 12.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005284/0.7316, allocations: 383.3 kB / 1.031 GB, free: 12.54 MB / 0.795 GB Notification: Performance of SimCode: time 5.41e-07/0.7316, allocations: 4 kB / 1.031 GB, free: 12.53 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06859/0.8002, allocations: 30.5 MB / 1.061 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.59, allocations: 15.83 kB / 1.061 GB, free: 14.6 MB / 0.8262 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)