Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.004737/0.004737, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.00118/0.00118, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001944/0.001944, allocations: 279.1 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8796/0.8796, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 103.8 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1499, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4749/0.6249, allocations: 190.6 MB / 0.9521 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008248/0.6332, allocations: 5.733 MB / 0.9577 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.6343, allocations: 43.75 kB / 0.9577 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.6356, allocations: 0.5942 MB / 0.9583 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.639, allocations: 1.688 MB / 0.9599 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.6418, allocations: 1.228 MB / 0.9611 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.6444, allocations: 2.576 MB / 0.9636 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009231/0.6453, allocations: 0.8726 MB / 0.9645 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.6468, allocations: 1.086 MB / 0.9656 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.6481, allocations: 0.8127 MB / 0.9663 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.6482, allocations: 96 kB / 0.9664 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.6507, allocations: 1.551 MB / 0.968 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003766/0.651, allocations: 402.9 kB / 0.9683 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005383/0.6516, allocations: 0.5833 MB / 0.9689 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.6539, allocations: 2.026 MB / 0.9709 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6539, allocations: 0 / 0.9709 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6539, allocations: 0 / 0.9709 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.6539, allocations: 0 / 0.9709 GB, free: 1.168 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00203/0.656, allocations: 1.474 MB / 0.9723 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.656, allocations: 12.03 kB / 0.9723 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.6561, allocations: 126.6 kB / 0.9725 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002514/0.6587, allocations: 426.8 kB / 0.9729 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.66, allocations: 0.7968 MB / 0.9736 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.66, allocations: 58 kB / 0.9737 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.6602, allocations: 76 kB / 0.9738 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.6618, allocations: 0.9827 MB / 0.9747 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.6619, allocations: 3.938 kB / 0.9747 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-05/0.662, allocations: 35.94 kB / 0.9748 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.662, allocations: 30 kB / 0.9748 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.6638, allocations: 0.8783 MB / 0.9757 GB, free: 12.16 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.005319/0.6691, allocations: 3.491 MB / 0.9791 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.6707, allocations: 0.6015 MB / 0.9797 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.6714, allocations: 335.7 kB / 0.98 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.6716, allocations: 101.4 kB / 0.9801 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.6716, allocations: 43.22 kB / 0.9801 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.643e-06/0.6716, allocations: 0 / 0.9801 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.00748/0.6791, allocations: 2.408 MB / 0.9825 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.6791, allocations: 59.41 kB / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/0.68, allocations: 0.7979 MB / 0.9833 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.6801, allocations: 37.7 kB / 0.9833 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.6804, allocations: 448.5 kB / 0.9838 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.6805, allocations: 154.7 kB / 0.9839 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.6807, allocations: 106.2 kB / 0.984 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.6808, allocations: 326 kB / 0.9843 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007577/0.6815, allocations: 308.9 kB / 0.9846 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008031/0.6823, allocations: 404.1 kB / 0.985 GB, free: 2.219 MB / 0.7325 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.004963/0.6873, allocations: 1.882 MB / 0.9868 GB, free: 288 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6873, allocations: 4 kB / 0.9868 GB, free: 284 kB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003009/0.6903, allocations: 1.031 MB / 0.9878 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6904, allocations: 16.08 kB / 0.9879 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6904, allocations: 4 kB / 0.9879 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005465/0.6909, allocations: 188.6 kB / 0.988 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/0.6916, allocations: 139.8 kB / 0.9882 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/0.6952, allocations: 2.246 MB / 0.9904 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/0.6961, allocations: 52.81 kB / 0.9904 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.6962, allocations: 20 kB / 0.9904 GB, free: 12.44 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: 12 * 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 (59): * Single equations (assignments): 58 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003876/0.6966, allocations: 273.6 kB / 0.9907 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.6967, allocations: 95.38 kB / 0.9908 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.6969, allocations: 96.23 kB / 0.9909 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.6969, allocations: 7.938 kB / 0.9909 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6969, allocations: 4 kB / 0.9909 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002718/0.6996, allocations: 0.8879 MB / 0.9918 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004815/0.7045, allocations: 2.103 MB / 0.9938 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.7045, allocations: 7.984 kB / 0.9938 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.7051, allocations: 132.2 kB / 0.994 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/0.7056, allocations: 176.7 kB / 0.9941 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.7057, allocations: 19.98 kB / 0.9941 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/0.709, allocations: 2.187 MB / 0.9963 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.709, allocations: 7.938 kB / 0.9963 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/0.7126, allocations: 1.41 MB / 0.9977 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/0.713, allocations: 248.5 kB / 0.9979 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.7131, allocations: 8 kB / 0.9979 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008186/0.7139, allocations: 55.94 kB / 0.998 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.714, allocations: 43.83 kB / 0.998 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-05/0.714, allocations: 27.98 kB / 0.998 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006122/0.7147, allocations: 0.5576 MB / 0.9986 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7147, allocations: 0 / 0.9986 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007866/0.7155, allocations: 275.9 kB / 0.9988 GB, free: 3.488 MB / 0.7481 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 (37): * Single equations (assignments): 36 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004062/0.7195, allocations: 2.071 MB / 1.001 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.7214, allocations: 0.8021 MB / 1.002 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.7214, allocations: 7.938 kB / 1.002 GB, free: 0.5273 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008856/0.7223, allocations: 471 kB / 1.002 GB, free: 60 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.7246, allocations: 0.5414 MB / 1.003 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.7383, allocations: 7.684 MB / 1.01 GB, free: 7.566 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.7388, allocations: 1.048 MB / 1.011 GB, free: 6.488 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006695/0.7395, allocations: 199.2 kB / 1.011 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.7399, allocations: 315.3 kB / 1.012 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of SimCode: time 5.31e-07/0.7399, allocations: 0 / 1.012 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05223/0.7922, allocations: 27.85 MB / 1.039 GB, free: 10.67 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.12, allocations: 10.25 kB / 1.039 GB, free: 10.66 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_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_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)