Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.005311/0.005311, allocations: 96.06 kB / 15.73 MB, free: 6.055 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.001345/0.001345, allocations: 202.8 kB / 16.68 MB, free: 5.977 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.237/1.237, 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.001991/0.001991, allocations: 274.9 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8945/0.8945, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 102.2 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.14, allocations: 86.97 MB / 0.7659 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.5041/0.6442, allocations: 221.1 MB / 0.9818 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007862/0.6521, allocations: 5.735 MB / 0.9874 GB, free: 84 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007367/0.6528, allocations: 43.75 kB / 0.9875 GB, free: 40 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.6541, allocations: 0.5942 MB / 0.9881 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.6571, allocations: 1.688 MB / 0.9897 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.6597, allocations: 1.223 MB / 0.9909 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002372/0.662, allocations: 2.583 MB / 0.9934 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009129/0.663, allocations: 0.9024 MB / 0.9943 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.6643, allocations: 1.097 MB / 0.9954 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.6657, allocations: 0.8442 MB / 0.9962 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.6658, allocations: 96 kB / 0.9963 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.6681, allocations: 1.547 MB / 0.9978 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.6685, allocations: 410.9 kB / 0.9982 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005323/0.669, allocations: 0.5872 MB / 0.9988 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.6713, allocations: 2.024 MB / 1.001 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6713, allocations: 0 / 1.001 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.256e-06/0.6713, allocations: 0 / 1.001 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.6714, allocations: 3.938 kB / 1.001 GB, free: 2.438 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002001/0.6734, allocations: 1.459 MB / 1.002 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.6734, allocations: 8.031 kB / 1.002 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.6736, allocations: 122.6 kB / 1.002 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/0.6761, allocations: 434.8 kB / 1.003 GB, free: 368 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6774, allocations: 0.8046 MB / 1.004 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.6775, allocations: 58 kB / 1.004 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.6776, allocations: 76 kB / 1.004 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.6793, allocations: 0.9866 MB / 1.005 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.6793, allocations: 4 kB / 1.005 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/0.6794, allocations: 32 kB / 1.005 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.6794, allocations: 29.94 kB / 1.005 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.6813, allocations: 0.8783 MB / 1.006 GB, free: 13.44 MB / 0.7637 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.005136/0.6864, allocations: 3.483 MB / 1.009 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.6879, allocations: 0.6053 MB / 1.01 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.6886, allocations: 345.5 kB / 1.01 GB, free: 8.816 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.6888, allocations: 97.09 kB / 1.01 GB, free: 8.703 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.6888, allocations: 48.31 kB / 1.01 GB, free: 8.648 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.6888, allocations: 4 kB / 1.01 GB, free: 8.645 MB / 0.7637 GB Notification: Performance of matching and sorting (n=41): time 0.004431/0.6933, allocations: 1.899 MB / 1.012 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.6933, allocations: 59.39 kB / 1.012 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007884/0.6941, allocations: 0.7784 MB / 1.013 GB, free: 5.836 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.6941, allocations: 37.7 kB / 1.013 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.6944, allocations: 460.4 kB / 1.013 GB, free: 5.34 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.6946, allocations: 150.7 kB / 1.013 GB, free: 5.191 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.6947, allocations: 110.2 kB / 1.013 GB, free: 5.078 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.6948, allocations: 329.9 kB / 1.014 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007412/0.6956, allocations: 308.9 kB / 1.014 GB, free: 4.449 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008176/0.6964, allocations: 447.5 kB / 1.014 GB, free: 3.965 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.004986/0.7014, allocations: 1.935 MB / 1.016 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7014, allocations: 0 / 1.016 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001781/0.7032, allocations: 0.8469 MB / 1.017 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.7032, allocations: 4 kB / 1.017 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7032, allocations: 4 kB / 1.017 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.7033, allocations: 8 kB / 1.017 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/0.704, allocations: 163.8 kB / 1.017 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.7041, allocations: 15.92 kB / 1.017 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007971/0.7049, allocations: 59.22 kB / 1.017 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.7049, allocations: 20 kB / 1.017 GB, free: 0.8477 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: 14 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003196/0.7053, allocations: 289.5 kB / 1.018 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.7054, allocations: 91.44 kB / 1.018 GB, free: 476 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.7056, allocations: 88.09 kB / 1.018 GB, free: 380 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.7056, allocations: 11.98 kB / 1.018 GB, free: 368 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7056, allocations: 0.875 kB / 1.018 GB, free: 368 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001485/0.7071, allocations: 0.6843 MB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/0.7107, allocations: 1.902 MB / 1.02 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.7107, allocations: 4 kB / 1.02 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/0.7114, allocations: 144.2 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.7114, allocations: 4 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.7115, allocations: 16.86 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.7115, allocations: 4 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.7115, allocations: 7.938 kB / 1.021 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.7138, allocations: 1.233 MB / 1.022 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.7142, allocations: 236.5 kB / 1.022 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.7143, allocations: 20 kB / 1.022 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007911/0.7151, allocations: 57.77 kB / 1.022 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.209e-05/0.7152, allocations: 43.83 kB / 1.022 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.7153, allocations: 27.98 kB / 1.022 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005772/0.7158, allocations: 0.5419 MB / 1.023 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7158, allocations: 3.938 kB / 1.023 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006659/0.7165, allocations: 247.9 kB / 1.023 GB, free: 11 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002847/0.7194, allocations: 1.855 MB / 1.025 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.721, allocations: 0.7027 MB / 1.025 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.721, allocations: 0 / 1.025 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007488/0.7218, allocations: 329 kB / 1.026 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.7239, allocations: 0.5294 MB / 1.026 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.735, allocations: 7.202 MB / 1.033 GB, free: 60 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.7355, allocations: 1.04 MB / 1.034 GB, free: 14.99 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006459/0.7362, allocations: 227 kB / 1.034 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.7366, allocations: 319.3 kB / 1.035 GB, free: 14.45 MB / 0.795 GB Notification: Performance of SimCode: time 1.943e-06/0.7366, allocations: 0 / 1.035 GB, free: 14.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/0.7818, allocations: 25.59 MB / 1.06 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.999, allocations: 11.27 kB / 1.06 GB, free: 5.336 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)